Skip to content

Commit

Permalink
Expose type definitions file to consumers (#12)
Browse files Browse the repository at this point in the history
We now have a type definitions file, but consumers will not be able to
use it unless a `types` field that points to it is present in the
manifest. This fixes that.
  • Loading branch information
mcmire authored Jul 21, 2023
1 parent 325fece commit 9e28c5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"license": "ISC",
"author": "",
"main": "index.js",
"main": "./index.js",
"types": "./index.d.ts",
"scripts": {
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog",
"lint:changelog": "auto-changelog validate",
Expand Down

0 comments on commit 9e28c5e

Please sign in to comment.