From 98d6b242ab60df4b670deed503021fa4dbce1b9a Mon Sep 17 00:00:00 2001 From: Geoffrey Plitt Date: Mon, 20 Nov 2023 15:57:16 -0800 Subject: [PATCH] adding types.d.ts --- types.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 types.d.ts diff --git a/types.d.ts b/types.d.ts new file mode 100644 index 0000000..11222d9 --- /dev/null +++ b/types.d.ts @@ -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; + +}