Skip to content

Commit

Permalink
Merge pull request #292 from GGomez99/ggomez99/export-pattern-type
Browse files Browse the repository at this point in the history
Export Pattern types in package.json
  • Loading branch information
gvergnaud authored Oct 3, 2024
2 parents 7e35461 + 6467aff commit e3785fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./types": {
"require": {
"types": "./dist/types/index.d.cts"
},
"import": {
"types": "./dist/types/index.d.ts"
},
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './Pattern';

0 comments on commit e3785fe

Please sign in to comment.