diff --git a/build/js/types.d.ts b/build/js/intlTelInput.d.ts similarity index 100% rename from build/js/types.d.ts rename to build/js/intlTelInput.d.ts diff --git a/package.json b/package.json index ea1326ebf..7e075fd31 100644 --- a/package.json +++ b/package.json @@ -91,6 +91,5 @@ "./data": "./build/js/data.js", "./react": "./react/build/IntlTelInput.js", "./*": "./*" - }, - "types": "./build/js/types.d.ts" + } } diff --git a/react/build/types.d.ts b/react/build/IntlTelInput.d.ts similarity index 100% rename from react/build/types.d.ts rename to react/build/IntlTelInput.d.ts diff --git a/react/tsconfig.json b/react/tsconfig.json index 7cfc675e9..f73eb55a7 100644 --- a/react/tsconfig.json +++ b/react/tsconfig.json @@ -4,7 +4,7 @@ "esModuleInterop": true, // required for react (etc) default imports "declaration": true, // generate .d.ts files "emitDeclarationOnly": true, // ONLY generate .d.ts files (we use esbuild for the actual bundling) - "outFile": "build/types.d.ts", + "outFile": "build/IntlTelInput.d.ts", "rootDir": "./src", }, "include": [ diff --git a/tsconfig.json b/tsconfig.json index 9889ab124..efe1255ce 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "esModuleInterop": true, // required for react (etc) default imports "declaration": true, // generate .d.ts files "emitDeclarationOnly": true, // ONLY generate .d.ts files (we use esbuild for the actual bundling) - "outFile": "build/js/types.d.ts", + "outFile": "build/js/intlTelInput.d.ts", "rootDir": "./src/js", }, "include": [