Skip to content

Commit 3f01faf

Browse files
JoshMockMarsup
andauthored
[Backport 7.17] fix: add types to exports (v7.x) (#1930) (#1940)
Co-authored-by: Nicolas Morel <[email protected]>
1 parent cca9a7b commit 3f01faf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"exports": {
77
".": {
88
"require": "./index.js",
9-
"import": "./index.mjs"
9+
"import": "./index.mjs",
10+
"types": "./index.d.ts"
1011
},
1112
"./*": "./*.js"
1213
},

0 commit comments

Comments
 (0)