Skip to content

Commit

Permalink
update package exports for latest TypeScript
Browse files Browse the repository at this point in the history
This according to the new standard available in TypeScript 4.8.0 and
forward.
https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing
  • Loading branch information
TheLudd committed Nov 22, 2022
1 parent d40ae7a commit 8bd7824
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 @@ -36,6 +36,7 @@
],
"main": "index.js",
"exports": {
"types": "./index.d.ts",
"require": "./index.js",
"import": "./index.mjs"
},
Expand Down

0 comments on commit 8bd7824

Please sign in to comment.