10 lines
268 B
TypeScript
10 lines
268 B
TypeScript
import { DSQLFetchApiOptions } from "../../package-shared/types";
|
|
/**
|
|
* # Fetch API
|
|
*/
|
|
export default function fetchApi<T extends {
|
|
[k: string]: any;
|
|
} = {
|
|
[k: string]: any;
|
|
}, R extends any = any>(url: string, options?: DSQLFetchApiOptions<T>): Promise<R>;
|