diff --git a/types/superagent/index.d.ts b/types/superagent/index.d.ts index 350b81f735..e133eb0d3a 100644 --- a/types/superagent/index.d.ts +++ b/types/superagent/index.d.ts @@ -163,6 +163,7 @@ declare namespace request { set(field: string, val: string): this; set(field: 'Cookie', val: string[]): this; timeout(ms: number | { deadline?: number, response?: number }): this; + trustLocalhost(enabled?: boolean): this; type(val: string): this; unset(field: string): this; use(fn: Plugin): this;