Skip to content

Commit 78559b7

Browse files
author
Morten Larsen
authoredJun 14, 2022
Fix TypeScript not able to resolve types when on Node16 (#330)
1 parent eae1d8d commit 78559b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"exports": {
1515
"import": "./index.mjs",
1616
"require": "./index.js",
17-
"default": "./index.js"
17+
"default": "./index.js",
18+
"types": "./dist/src/index.d.ts"
1819
},
1920
"scripts": {
2021
"build": "tsc --build",

0 commit comments

Comments
 (0)
Please sign in to comment.