Skip to content

Commit

Permalink
Add types reference for named exports
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 23, 2025
1 parent b34b640 commit cdedfd6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/persistent-merkle-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@
"type": "module",
"exports": {
".": {
"import": "./lib/index.js"
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./hashtree": {
"import": "./lib/hasher/hashtree.js"
"import": "./lib/hasher/hashtree.js",
"types": "./lib/hasher/hashtree.d.ts"
},
"./nobel": {
"import": "./lib/hasher/nobel.js"
"./noble": {
"import": "./lib/hasher/noble.js",
"types": "./lib/hasher/noble.d.ts"
},
"./as-sha256": {
"import": "./lib/hasher/as-sha256.js"
"import": "./lib/hasher/as-sha256.js",
"types": "./lib/hasher/as-sha256.d.ts"
}
},
"typesVersions": {
Expand Down

0 comments on commit cdedfd6

Please sign in to comment.