From 7c6c3349ebddd2cdc587061b1a110fad5cda3053 Mon Sep 17 00:00:00 2001 From: Kishore Date: Tue, 2 Aug 2022 20:46:35 +0530 Subject: [PATCH] fix: types export. --- package.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package.json b/package.json index 7db334a..7cbf9ab 100644 --- a/package.json +++ b/package.json @@ -31,56 +31,67 @@ "module": "./index.mjs", "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", "require": "./index.js", "default": "./index.mjs" }, "./plugins/a11y": { + "types": "./plugins/a11y.d.ts", "import": "./plugins/a11y.mjs", "require": "./plugins/a11y.js", "default": "./plugins/a11y.mjs" }, "./plugins/cmyk": { + "types": "./plugins/cmyk.d.ts", "import": "./plugins/cmyk.mjs", "require": "./plugins/cmyk.js", "default": "./plugins/cmyk.mjs" }, "./plugins/harmonies": { + "types": "./plugins/harmonies.d.ts", "import": "./plugins/harmonies.mjs", "require": "./plugins/harmonies.js", "default": "./plugins/harmonies.mjs" }, "./plugins/hwb": { + "types": "./plugins/hwb.d.ts", "import": "./plugins/hwb.mjs", "require": "./plugins/hwb.js", "default": "./plugins/hwb.mjs" }, "./plugins/lab": { + "types": "./plugins/lab.d.ts", "import": "./plugins/lab.mjs", "require": "./plugins/lab.js", "default": "./plugins/lab.mjs" }, "./plugins/lch": { + "types": "./plugins/lch.d.ts", "import": "./plugins/lch.mjs", "require": "./plugins/lch.js", "default": "./plugins/lch.mjs" }, "./plugins/minify": { + "types": "./plugins/minify.d.ts", "import": "./plugins/minify.mjs", "require": "./plugins/minify.js", "default": "./plugins/minify.mjs" }, "./plugins/mix": { + "types": "./plugins/mix.d.ts", "import": "./plugins/mix.mjs", "require": "./plugins/mix.js", "default": "./plugins/mix.mjs" }, "./plugins/names": { + "types": "./plugins/names.d.ts", "import": "./plugins/names.mjs", "require": "./plugins/names.js", "default": "./plugins/names.mjs" }, "./plugins/xyz": { + "types": "./plugins/xyz.d.ts", "import": "./plugins/xyz.mjs", "require": "./plugins/xyz.js", "default": "./plugins/xyz.mjs"