Skip to content

Commit

Permalink
Export types through an index file
Browse files Browse the repository at this point in the history
  • Loading branch information
GGomez99 committed Oct 3, 2024
1 parent 16585d9 commit 7c24440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
},
"./types": {
"require": {
"types": "./dist/types/Pattern.d.cts"
"types": "./dist/types/index.d.cts"
},
"import": {
"types": "./dist/types/Pattern.d.ts"
"types": "./dist/types/index.d.ts"
}
},
"./package.json": "./package.json"
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 7c24440

Please sign in to comment.