From 4814b5682d4e128d75ff6464985364bcd9388fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20L=C3=B3pez=20Dato?= Date: Wed, 6 Apr 2016 08:56:50 -0300 Subject: [PATCH] IServerViewsAdditionalOptions.layout can be string --- hapi/hapi.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi/hapi.d.ts b/hapi/hapi.d.ts index 7fcbc1149a..bd226eb01e 100644 --- a/hapi/hapi.d.ts +++ b/hapi/hapi.d.ts @@ -179,7 +179,7 @@ declare module "hapi" { relativeTo?: string; /**layout - if set to true or a layout filename, layout support is enabled.A layout is a single template file used as the parent template for other view templates in the same engine.If true, the layout template name must be 'layout.ext' where 'ext' is the engine's extension. Otherwise, the provided filename is suffixed with the engine's extension and loaded.Disable layout when using Jade as it will handle including any layout files independently.Defaults to false.*/ - layout?: boolean; + layout?: boolean | string; /**layoutPath - the root file path where layout templates are located (using the relativeTo prefix if present). Defaults to path.*/ layoutPath?: string; /**layoutKeyword - the key used by the template engine to denote where primary template content should go.Defaults to 'content'.*/