mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-29 12:40:34 +08:00
Update hapi.d.ts
Made connection options optional.
This commit is contained in:
1 parent
884f9a34fc
commit
68a89b091e
1 file changed
+1
-1
Vendored
+1
-1
@@ -306,7 +306,7 @@ declare module Hapi {
|
||||
log(tags: Array<string>, data?: string, timestamp?: number): void;
|
||||
log(tags: string, data?: any, timestamp?: number): void;
|
||||
log(tags: Array<string>, data?: any, timestamp?: number): void;
|
||||
connection(options: ServerOptions): void;
|
||||
connection(options?: ServerOptions): void;
|
||||
state(name: string, options?: {
|
||||
ttl: number;
|
||||
isSecure: boolean;
|
||||
|
||||
Reference in new issue
Block a user