diff --git a/hapi/hapi-8.2.0.d.ts b/hapi/hapi-8.2.0.d.ts index 46c1e11e2..497e7038e 100644 --- a/hapi/hapi-8.2.0.d.ts +++ b/hapi/hapi-8.2.0.d.ts @@ -1615,6 +1615,8 @@ declare module "hapi" { } });*/ default(options: string):void; + default(options: { strategy: string }): void; + default(options: { strategies: string[] }): void; /** server.auth.scheme(name, scheme) Registers an authentication scheme where: name - the scheme name. diff --git a/hapi/hapi.d.ts b/hapi/hapi.d.ts index 8e8025b78..151f386dd 100644 --- a/hapi/hapi.d.ts +++ b/hapi/hapi.d.ts @@ -1774,6 +1774,8 @@ Notes: 1. Default value. 2. Proposed code, not supported by all clients. */ } });*/ default(options: string): void; + default(options: { strategy: string }): void; + default(options: { strategies: string[] }): void; /** server.auth.scheme(name, scheme) Registers an authentication scheme where: name - the scheme name.