Skip to content

Commit

Permalink
fix(types): use typesVersions to map the types for non module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
buehler committed Feb 22, 2024
1 parent 8c4e871 commit 79904b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,15 @@
"./credentials": "./src/credentials/index.ts",
"./package.json": "./package.json"
}
},
"typesVersions": {
"*": {
"api": [
"dist/commonjs/api/index.d.ts"
],
"credentials": [
"dist/commonjs/credentials/index.d.ts"
]
}
}
}

0 comments on commit 79904b5

Please sign in to comment.