13 lines
509 B
TypeScript
13 lines
509 B
TypeScript
|
|
import { default as RequestType } from '../types/RequestType.ts';
|
||
|
|
import { default as GenericObject } from '../types/GenericObject.ts';
|
||
|
|
type GetResponseWithoutCors = {
|
||
|
|
url: string;
|
||
|
|
method: string;
|
||
|
|
data?: GenericObject | string;
|
||
|
|
requestKey: string;
|
||
|
|
requestType?: RequestType;
|
||
|
|
headers?: GenericObject | null;
|
||
|
|
};
|
||
|
|
export declare const getResponseWithoutCors: ({ url, method, data, requestKey, requestType, headers }: GetResponseWithoutCors) => void;
|
||
|
|
export default getResponseWithoutCors;
|