Skip to content

Commit

Permalink
Add types manifest field (#391)
Browse files Browse the repository at this point in the history
This field is recommended by the TypeScript documentation about
publishing [1]. It helps consumers find the type declarations.

[1]: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
  • Loading branch information
Gudahtt authored and MajorLift committed Oct 11, 2023
1 parent 6a7c74a commit ac79c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dist/"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
Expand Down

0 comments on commit ac79c80

Please sign in to comment.