Skip to content

Commit

Permalink
Add file extenstion to typings property value (#151)
Browse files Browse the repository at this point in the history
TypeScript requires the file extension be specified in typings / types property. https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
  • Loading branch information
dangrussell authored Jul 6, 2021
1 parent c49386c commit 079285a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.9.0",
"description": "Load node modules according to tsconfig paths, in run-time or via API.",
"main": "lib/index.js",
"types": "lib/index",
"types": "lib/index.d.ts",
"author": "Jonas Kello",
"license": "MIT",
"repository": "https://github.com/dividab/tsconfig-paths",
Expand Down

0 comments on commit 079285a

Please sign in to comment.