Skip to content

Commit

Permalink
I did it, closes #113
Browse files Browse the repository at this point in the history
  • Loading branch information
Secreto31126 committed Apr 6, 2023
1 parent 02c282c commit 1cf6e74
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,28 @@
"node": ">10.10"
},
"exports": {
".": {
"types": "./lib/types/index.d.ts",
".": { "types": "./lib/types/index.d.ts",
"import": "./lib/module/index.js",
"require": "./lib/common/index.js"
},
"./messages": {
"types": "./lib/types/messages/index.d.ts",
"import": "./lib/module/messages/index.js",
"require": "./lib/common/messages/index.js"
},
"./*": {
"types": "./lib/types/*.d.ts",
"import": "./lib/module/*.js",
"require": "./lib/common/*.js"
}
},
"//": "https://github.com/andrewbranch/example-subpath-exports-ts-compat/blob/main/examples/node_modules/types-versions-wildcards/package.json",
"types": "index.d.ts",
"typesVersions": {
"*": {
"messages": "lib/types/messages/index.d.ts",
"messages/*": "lib/types/messages/*.d.ts",
"*": "lib/types/*"
}
},
"scripts": {
Expand Down

0 comments on commit 1cf6e74

Please sign in to comment.