UNPKG

payload

Version:

Node, React and MongoDB Headless CMS and Application Framework

12 lines 500 B
type GetOptions = RequestInit & { params?: Record<string, unknown>; }; export declare const requests: { delete: (url: string, options?: RequestInit) => Promise<Response>; get: (url: string, options?: GetOptions) => Promise<Response>; patch: (url: string, options?: RequestInit) => Promise<Response>; post: (url: string, options?: RequestInit) => Promise<Response>; put: (url: string, options?: RequestInit) => Promise<Response>; }; export {}; //# sourceMappingURL=api.d.ts.map