mirror of
https://git.coolaj86.com/coolaj86/request.js
synced 2025-04-20 22:30:39 +00:00
adding types.d.ts
This commit is contained in:
parent
7ce7e9d091
commit
98d6b242ab
24
types.d.ts
vendored
Normal file
24
types.d.ts
vendored
Normal 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;
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user