This commit is contained in:
2026-01-18 20:56:17 +07:00
parent 02247f9018
commit ae61ece0b0
15 changed files with 1730 additions and 404 deletions

7
src/type.d.ts vendored
View File

@@ -2,10 +2,5 @@
/// <reference types="unplugin-vue-components/types/vue" />
declare module "@httpClientAdapter" {
import { TinyRpcClientAdapter } from "@hiogawa/tiny-rpc";
export function httpClientAdapter(opts: {
url: string;
pathsForGET?: string[];
headers?: () => Promise<{ Authorization?: undefined; } | { Authorization: string; }>
}): TinyRpcClientAdapter;
export const customFetch: (url: string, options: RequestInit) => Promise<Response>;
}