Skip to content

Commit

Permalink
TS declaration setup v5
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Apr 6, 2024
1 parent a053126 commit 3ffabee
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
File renamed without changes.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,5 @@
"./data": "./build/js/data.js",
"./react": "./react/build/IntlTelInput.js",
"./*": "./*"
},
"types": "./build/js/types.d.ts"
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 3ffabee

Please sign in to comment.