diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..8cec2e9 --- /dev/null +++ b/index.d.ts @@ -0,0 +1 @@ +export {}; \ No newline at end of file diff --git a/package.json b/package.json index cb9e3f6..2628239 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,11 @@ "bin": "bin/cli.js", "main": "dist/index.js", "module": "dist/i18n-tools.esm.js", - "typings": "dist/index.d.ts", + "typings": "index.d.ts", "files": [ "dist", - "bin" + "bin", + "index.d.ts" ], "engines": { "node": ">=12" diff --git a/tsconfig.json b/tsconfig.json index 2c85b2d..cc98db6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "lib": ["dom", "esnext"], "importHelpers": true, // output .d.ts declaration files for consumers - "declaration": true, + "declaration": false, // output .js.map sourcemap files for consumers "sourceMap": true, // match output dir to input dir. e.g. dist/index instead of dist/src/index