From 30e999960f9582c6e4cfa6351193f4bc6df7a7dd Mon Sep 17 00:00:00 2001 From: Geoffrey Plitt Date: Tue, 21 Nov 2023 14:37:38 -0800 Subject: [PATCH] adjusting names --- types.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types.d.ts b/types.d.ts index d6d68dc..9025bc9 100644 --- a/types.d.ts +++ b/types.d.ts @@ -1,4 +1,4 @@ -export = request; +export = root__request; import caseless = require("caseless"); import stream = require("stream"); @@ -10,9 +10,9 @@ import net = require("net"); import tough = require("tough-cookie"); import { Url } from "url"; -declare function request(opts: any, ...args: any[]): any; +declare function root__request(opts: any, ...args: any[]): any; -declare namespace request { +declare namespace root__request { interface RequestAPI { defaults(options: TOptions): RequestAPI; defaults(options: RequiredUriUrl & TOptions): DefaultUriUrlRequestApi; @@ -392,4 +392,4 @@ declare namespace request { } } -declare var request: request.RequestAPI; \ No newline at end of file +declare var request: root__request.RequestAPI; \ No newline at end of file