shelving 1.20.1 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/react/useQuery.d.ts +2 -2
- package/react/useQuery.js +1 -1
package/package.json
CHANGED
package/react/useQuery.d.ts
CHANGED
|
@@ -31,5 +31,5 @@ export declare function useAsyncQuery<T extends Data>(ref: DataQuery<T> | undefi
|
|
|
31
31
|
* @trhows `Error` if a `CacheProvider` is not part of the database's provider chain.
|
|
32
32
|
* @throws `Error` if there was a problem retrieving the results.
|
|
33
33
|
*/
|
|
34
|
-
export declare function
|
|
35
|
-
export declare function
|
|
34
|
+
export declare function useQuery<T extends Data>(ref: DataQuery<T>, maxAge?: number | true): ResultsMap<T>;
|
|
35
|
+
export declare function useQuery<T extends Data>(ref: DataQuery<T> | undefined, maxAge?: number | true): ResultsMap<T> | undefined;
|