Skip to content

Commit

Permalink
chore: add exports field to @socketsupply/socket package
Browse files Browse the repository at this point in the history
In my experience, this can help tsc language server find the typings.
  • Loading branch information
aleclarson authored and chicoxyzzy committed Oct 7, 2023
1 parent 4307463 commit 056dade
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions npm/packages/@socketsupply/socket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"bin": {
"ssc": "bin/ssc.js"
},
Expand Down

0 comments on commit 056dade

Please sign in to comment.