This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
react-rest-request/target/misc.d.ts
Dmitriy Pleshevskiy 49aac94675 fix: use window location as base url
chore: add dist folder to repo
chore(deps): add node-fetch for tests
chore: change prepare request visibility
chore: add tests for prepare request method
chore: update example

Closes #20
2020-12-08 10:35:18 +03:00

5 lines
328 B
TypeScript

export declare function isObject(val: any): val is Record<string, unknown>;
export declare function isFunction(val: any): val is (...args: any[]) => any;
export declare function formDataFromObject(obj: Record<string, any>): FormData;
export declare function urlSearchParamsFromObject(obj: Record<string, any>): URLSearchParams;