mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
fix refine fn typing
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"bin": "./dist/cli/index.js",
|
"bin": "./dist/cli/index.js",
|
||||||
"version": "0.9.0-rc.3",
|
"version": "0.9.0-rc.4",
|
||||||
"description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, Remix, Astro, Cloudflare, Bun, Node, AWS Lambda & more.",
|
"description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, Remix, Astro, Cloudflare, Bun, Node, AWS Lambda & more.",
|
||||||
"homepage": "https://bknd.io",
|
"homepage": "https://bknd.io",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -225,7 +225,8 @@ export class FetchPromise<T = ApiResponse<any>> implements Promise<T> {
|
|||||||
fetcher?: typeof fetch;
|
fetcher?: typeof fetch;
|
||||||
verbose?: boolean;
|
verbose?: boolean;
|
||||||
},
|
},
|
||||||
protected refineData?: (data: T) => any,
|
// keep "any" here, it gets inferred correctly with the "refine" fn
|
||||||
|
protected refineData?: (data: any) => any,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
get verbose() {
|
get verbose() {
|
||||||
|
|||||||
Reference in New Issue
Block a user