Skip to content

Commit

Permalink
fix: allow false for defaultLayout (#303)
Browse files Browse the repository at this point in the history
* Added boolean type for defaultLayout

* Update types/index.d.ts

Co-authored-by: Tony Brix <[email protected]>

Co-authored-by: Tony Brix <[email protected]>
  • Loading branch information
aasiddiq and UziTech authored Mar 3, 2022
1 parent 5ed1c86 commit d6180fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export interface ConfigOptions {
encoding?: BufferEncoding;
layoutsDir?: string;
partialsDir?: string|string[]|PartialsDirObject|PartialsDirObject[];
defaultLayout?: string;
defaultLayout?: string|false;
helpers?: UnknownObject;
compilerOptions?: CompileOptions;
runtimeOptions?: Handlebars.RuntimeOptions;
Expand Down

0 comments on commit d6180fe

Please sign in to comment.