File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11import React from 'react'
22
3- import { useQueryClient } from '../ react'
3+ import { useQueryClient } from 'react-query '
44import { hydrate , HydrateOptions } from './hydration'
55
66export function useHydrate ( state : unknown , options ?: HydrateOptions ) {
Original file line number Diff line number Diff line change 1313 "noUnusedParameters" : true ,
1414 "skipLibCheck" : true ,
1515 "strict" : true ,
16- "types" : [" jest" ]
16+ "types" : [" jest" ],
17+ "paths" : {
18+ "react-query" : [" ./src/index.ts" ]
19+ }
1720 },
1821 "include" : [" ./src" ]
1922}
Original file line number Diff line number Diff line change 44 "declaration" : true ,
55 "declarationDir" : " ./types" ,
66 "emitDeclarationOnly" : true ,
7- "noEmit" : false
7+ "noEmit" : false ,
8+ "paths" : {
9+ "react-query" : [" ./src/index.ts" ]
10+ }
811 },
912 "files" : [
1013 " ./src/index.ts" ,
You can’t perform that action at this time.
0 commit comments