mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
fix refine fn typing
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"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.",
|
||||
"homepage": "https://bknd.io",
|
||||
"repository": {
|
||||
|
||||
@@ -225,7 +225,8 @@ export class FetchPromise<T = ApiResponse<any>> implements Promise<T> {
|
||||
fetcher?: typeof fetch;
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user