mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
IServerViewsAdditionalOptions.layout can be string
This commit is contained in:
committed by
Masahiro Wakame
parent
1b16a4f065
commit
4814b5682d
2
hapi/hapi.d.ts
vendored
2
hapi/hapi.d.ts
vendored
@@ -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'.*/
|
||||
|
||||
Reference in New Issue
Block a user