Skip to content

Commit

Permalink
Add types to package exports (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
khmm12 committed Jun 16, 2023
1 parent 78ce59e commit dfd1803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -6,6 +6,7 @@
"main": "./dist/index.cjs",
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
Expand Down

2 comments on commit dfd1803

@kikar
Copy link

@kikar kikar commented on dfd1803 Sep 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get a new release with those changes?
Atm i'm getting:

Could not find a declaration file for module 'ms'. '.../node_modules/ms/dist/index.cjs' implicitly has an 'any' type.

@khuezy
Copy link

@khuezy khuezy commented on dfd1803 Dec 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto @mrmckeb

Please sign in to comment.