Skip to content

Commit 5c9e9f0

Browse files
committed
chore: add types exports
1 parent d0e8485 commit 5c9e9f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
],
1818
"exports": {
1919
".": {
20+
"require": "./lib/commonjs/index",
2021
"import": "./lib/module/index",
21-
"require": "./lib/commonjs/index"
22+
"types": "./lib/typescript/src/index.d.ts"
2223
},
2324
"./patterns": {
25+
"require": "./lib/commonjs/patterns/index",
2426
"import": "./lib/module/patterns/index",
25-
"require": "./lib/commonjs/patterns/index"
27+
"types": "./lib/typescript/src/patterns/index.d.ts"
2628
}
2729
},
2830
"scripts": {

0 commit comments

Comments
 (0)