mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Update hapi.d.ts
Add definition for connection method on the Server object.
This commit is contained in:
1
hapi/hapi.d.ts
vendored
1
hapi/hapi.d.ts
vendored
@@ -306,6 +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: info): void;
|
||||
state(name: string, options?: {
|
||||
ttl: number;
|
||||
isSecure: boolean;
|
||||
|
||||
Reference in New Issue
Block a user