Skip to content

Commit

Permalink
fix: resolved an issue where types were not being properly picked up …
Browse files Browse the repository at this point in the history
…in some ESM TS projects (resolves #62) (#64)
  • Loading branch information
ClockRide authored Jun 3, 2024
1 parent 6ea0062 commit 6a20007
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"types": "dist/index.d.ts",
"keywords": [
"apify",
"sqlite",
Expand Down

0 comments on commit 6a20007

Please sign in to comment.