API/api.medcify.app/node_modules/snyk/dist/lib/request/index.d.ts
2022-09-26 11:41:44 +05:30

8 lines
320 B
TypeScript

import * as needle from 'needle';
declare function makeRequestWrapper(payload: any): Promise<{
res: needle.NeedleResponse;
body: any;
}>;
declare function makeRequestWrapper(payload: any, callback: (err: Error | null, res?: any, body?: any) => void): Promise<void>;
export { makeRequestWrapper as makeRequest };