mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
nunjucks.configure first arguments: path can be array (#10417)
This commit is contained in:
1
nunjucks/nunjucks.d.ts
vendored
1
nunjucks/nunjucks.d.ts
vendored
@@ -34,6 +34,7 @@ declare namespace nunjucks {
|
||||
|
||||
export function configure(options: ConfigureOptions): Environment;
|
||||
export function configure(path: string, options?: ConfigureOptions): Environment;
|
||||
export function configure(path: string[], options?: ConfigureOptions): Environment;
|
||||
|
||||
export interface ConfigureOptions {
|
||||
autoescape?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user