Skip to content

Commit

Permalink
Add types field to package.json exports – fixes ts(7016)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpctorr authored Dec 13, 2023
1 parent e9f2be3 commit 1736b62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"exports": {
".": {
"require": "./astronomy.js",
"import": "./esm/astronomy.js"
"import": "./esm/astronomy.js",
"types": "./astronomy.d.ts"
}
},
"main": "./astronomy.js",
Expand Down

0 comments on commit 1736b62

Please sign in to comment.