UNPKG

266 BTypeScriptView Raw
1/** Custom post function based on node-fetch */
2export declare function post(apiPath: string, apiKey: string, sendObj: object, logStuff: boolean): Promise<void>;
3/** Custom get function based on node-fetch */
4export declare function get<T>(url: string): Promise<T>;