This commit is contained in:
segayuu
2017-11-07 11:42:37 +09:00
parent 7019fca216
commit ef7fa932c6
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ export class Environment {
autoescape: boolean;
};
constructor(loader?: ILoader | ILoader[], opts?: ConfigureOptions);
constructor(loader?: ILoader | ILoader[] | null, opts?: ConfigureOptions);
render(name: string, context?: object): string;
render(name: string, context?: object, callback?: (err: any, res: string) => any): void;

View File

@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"nunjucks-tests.ts"
]
}
}