mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 21:41:53 +07:00
6 lines
339 B
TypeScript
6 lines
339 B
TypeScript
export type RequestFnType = (url: string, data: Record<string, unknown>) => Promise<boolean>;
|
|
export declare const requestWithXMLHttpRequest: RequestFnType;
|
|
export declare const requestWithSendBeacon: RequestFnType;
|
|
export declare const requestWithNodeHttpModule: RequestFnType;
|
|
export declare const requestWithNativeFetch: RequestFnType;
|