WebLoader extends Loader, set version to 3.1

This commit is contained in:
Tyler Johnson
2018-08-14 13:12:01 -06:00
parent 36b6312eee
commit 44988b0a81
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for nunjucks 3.0
// Type definitions for nunjucks 3.1
// Project: http://mozilla.github.io/nunjucks/
// Definitions by: Ruben Slabbert <https://github.com/RubenSlabbert>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -128,7 +128,7 @@ export class FileSystemLoader extends Loader implements ILoader {
constructor(searchPaths?: string | string[], opts?: FileSystemLoaderOptions);
}
export class WebLoader implements ILoader {
export class WebLoader extends Loader implements ILoader {
constructor(baseUrl: string, opts?: any);
getSource(name: string): LoaderSource;
}