Skip to content

Commit 1cf83d3

Browse files
committed
fix(typescript): declare types in package.json
Apparently this is needed for type resolution with "nodenext" module resolution. fix #26
1 parent 7598779 commit 1cf83d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"bugs": "https://github.com/softwareventures/resolve-typescript-plugin/issues",
1515
"repository": "github:softwareventures/resolve-typescript-plugin",
1616
"license": "ISC",
17+
"types": "index.d.ts",
1718
"scripts": {
1819
"fix": "tsc --noEmit && eslint . --fix && prettier --write .",
1920
"lint": "tsc --noEmit && eslint . && prettier --check .",

0 commit comments

Comments
 (0)