Skip to content

Commit e3785fe

Browse files
authored
Merge pull request #292 from GGomez99/ggomez99/export-pattern-type
Export Pattern types in package.json
2 parents 7e35461 + 6467aff commit e3785fe

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

package.json

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
"types": "./dist/index.d.ts",
1818
"default": "./dist/index.js"
1919
},
20+
"./types": {
21+
"require": {
22+
"types": "./dist/types/index.d.cts"
23+
},
24+
"import": {
25+
"types": "./dist/types/index.d.ts"
26+
},
27+
"types": "./dist/types/index.d.ts"
28+
},
2029
"./package.json": "./package.json"
2130
},
2231
"types": "dist/index.d.ts",

src/types/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './Pattern';

0 commit comments

Comments
 (0)