Skip to content

Commit

Permalink
client types
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Nov 29, 2023
1 parent b518385 commit 22533c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/core/client.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// src/next/client.ts
import { useQuery, UrqlProvider } from '@urql/next'
export * from 'urql'
export { UrqlProvider as Provider, useQuery }
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"require": "./dist/next/rsc.js"
},
"./next/client": {
"types": "./dist/next/client.d.ts",
"types": "./client.d.ts",
"import": "./dist/next/esm/client.js",
"require": "./dist/next/client.js"
},
Expand Down

0 comments on commit 22533c2

Please sign in to comment.