Skip to content

Commit

Permalink
feat: Add typings to npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
roninjin10 authored and Will Cory committed May 28, 2023
1 parent 9f3d555 commit 0ede118
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@
},
"files": [
"common/*.js",
"common/*.d.ts",
"bindings/*.js",
"*.js"
"bindings/*.d.ts",
"*.js",
"*.d.ts"
],
"author": "chriseth",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// TODO: Drop it in the next breaking release.
"esModuleInterop": true,
"outDir": "./dist",
"declaration": true,
"forceConsistentCasingInFileNames": true,
// Allow JS must be included to ensure that the built binary is included
// in the output. This could be copied directly in the future if required.
Expand Down

0 comments on commit 0ede118

Please sign in to comment.