Type Alias RequestFunction
RequestFunction: (
url: string,
type?: string,
withCredentials?: boolean,
headers?: Record<string, string>,
) => Promise<unknown>
Type Declaration
- (
url: string,
type?: string,
withCredentials?: boolean,
headers?: Record<string, string>,
): Promise<unknown> Parameters
- url: string
Optionaltype: stringOptionalwithCredentials: booleanOptionalheaders: Record<string, string>
Returns Promise<unknown>