Skip to content

Commit e70887e

Browse files
Give TS tooling an extra hint where the default index.d.ts is
1 parent 574b244 commit e70887e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

addon/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
"edition": "octane"
4242
},
4343
"exports": {
44-
".": "./addon/index",
44+
".": {
45+
"types": "./index.d.ts",
46+
"default": "./addon/index"
47+
},
4548
"./*": "./addon/*"
4649
},
4750
"volta": {

0 commit comments

Comments
 (0)