Skip to content

Commit

Permalink
Add index.d.ts file to "exports" to fix vscode complaining about the …
Browse files Browse the repository at this point in the history
…types
  • Loading branch information
halafy-ds committed Oct 8, 2024
1 parent 8a967fb commit a7c2894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/node/index.d.ts",
"node": "./dist/node/rehype-citation.mjs",
"default": "./dist/browser/rehype-citation.mjs"
},
Expand Down

0 comments on commit a7c2894

Please sign in to comment.