init
This commit is contained in:
7
src/type.d.ts
vendored
7
src/type.d.ts
vendored
@@ -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>;
|
||||
}
|
||||
Reference in New Issue
Block a user