Skip to content

Commit

Permalink
Point package.json "types" field to generated .d.ts instead of raw .ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kkelk committed Sep 26, 2023
1 parent 8eb03f0 commit 409cd6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jest.config.js
nodemon.json

example
src
tests
test
CHANGELOG.md
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"types": "./src/index.ts",
"types": "./dist/index.d.ts",
"keywords": [
"elysia",
"swagger"
Expand Down

0 comments on commit 409cd6e

Please sign in to comment.