Skip to content

Commit

Permalink
fix: Add types path to package.json exports (enisdenjo#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevcat committed Jul 1, 2022
1 parent 77682cd commit 9f394d7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -35,19 +35,23 @@
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"browser": "./umd/graphql-ws.js"
},
"./lib/use/ws": {
"require": "./lib/use/ws.js",
"import": "./lib/use/ws.mjs"
"import": "./lib/use/ws.mjs",
"types": "./lib/use/ws.d.ts"
},
"./lib/use/uWebSockets": {
"require": "./lib/use/uWebSockets.js",
"import": "./lib/use/uWebSockets.mjs"
"import": "./lib/use/uWebSockets.mjs",
"types": "./lib/use/uWebSockets.d.ts"
},
"./lib/use/fastify-websocket": {
"require": "./lib/use/fastify-websocket.js",
"import": "./lib/use/fastify-websocket.mjs"
"import": "./lib/use/fastify-websocket.mjs",
"types": "./lib/use/fastify-websocket.d.ts"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit 9f394d7

Please sign in to comment.