2
0
mirror of https://github.com/therootcompany/request.js synced 2025-12-18 10:28:40 +00:00

adding types.d.ts

This commit is contained in:
Geoffrey Plitt 2023-11-20 15:57:16 -08:00
parent 7ce7e9d091
commit 98d6b242ab

24
types.d.ts vendored Normal file
View File

@ -0,0 +1,24 @@
export = root__request;
declare function root__request(opts: any, ...args: any[]): any;
declare namespace root__request {
const debug: boolean;
const del: any;
function defaults(_defs: any): any;
function get(opts: any, ...args: any[]): any;
function head(opts: any, ...args: any[]): any;
function options(opts: any, ...args: any[]): any;
function patch(opts: any, ...args: any[]): any;
function post(opts: any, ...args: any[]): any;
function put(opts: any, ...args: any[]): any;
}