diff --git a/hapi/hapi.d.ts b/hapi/hapi.d.ts index 65cc044178..9962dd6c62 100644 --- a/hapi/hapi.d.ts +++ b/hapi/hapi.d.ts @@ -304,7 +304,7 @@ declare module "hapi" { response(result: any): Response; /** Sets a cookie on the response */ - state(name: string, value: string, options?: any): void; + state(name: string, value: any, options?: any): void; /** Clears a cookie on the response */ unstate(name: string, options?: any): void;