Skip to content

Commit 7bf762a

Browse files
authored
Merge pull request #2 from kouloumos/vite-react-types-issue
fix: add typings to package.json export
2 parents 169ea4c + 32e19f3 commit 7bf762a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ndk-react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"exports": {
1414
".": {
1515
"import": "./dist/ndk-react.es.js",
16-
"require": "./dist/ndk-react.umd.js"
16+
"require": "./dist/ndk-react.umd.js",
17+
"types": "./dist/index.d.ts"
1718
}
1819
},
1920
"main": "./dist/ndk-react.umd.js",

0 commit comments

Comments
 (0)