Skip to content

Commit a506b51

Browse files
authored
Add typesVersions to package.json so that 'node' moduleResolution can resolve the types for the subpath exports (#112)
1 parent 84d9e12 commit a506b51

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

packages/smart-accounts-kit/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,22 @@
7676
},
7777
"./package.json": "./package.json"
7878
},
79+
"typesVersions": {
80+
"*": {
81+
"utils": [
82+
"./dist/utils/index.d.ts"
83+
],
84+
"actions": [
85+
"./dist/actions/index.d.ts"
86+
],
87+
"contracts": [
88+
"./dist/contracts/index.d.ts"
89+
],
90+
"experimental": [
91+
"./dist/experimental/index.d.ts"
92+
]
93+
}
94+
},
7995
"engines": {
8096
"node": "^18.18 || >=20"
8197
},

0 commit comments

Comments
 (0)