mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
cleanup ignore lint error: unified-signatures
This commit is contained in:
Vendored
+2
-7
@@ -10,7 +10,6 @@ declare namespace Nunjucks {
|
||||
function renderString(src: string, context: Object): string;
|
||||
function renderString(src: string, context: Object, callback?: (err: any, res: string) => any): void;
|
||||
|
||||
function compile(src: string, env?: Environment): Template;
|
||||
function compile(src: string, env?: Environment, callback?: (err: any, res: Template) => any): Template;
|
||||
|
||||
function precompile(path: string, opts?: PrecompileOptions): string;
|
||||
@@ -33,8 +32,7 @@ declare namespace Nunjucks {
|
||||
}
|
||||
|
||||
function configure(options: ConfigureOptions): Environment;
|
||||
function configure(path: string, options?: ConfigureOptions): Environment;
|
||||
function configure(path: string[], options?: ConfigureOptions): Environment;
|
||||
function configure(path: string | string[], options?: ConfigureOptions): Environment;
|
||||
|
||||
interface ConfigureOptions {
|
||||
autoescape?: boolean;
|
||||
@@ -63,10 +61,7 @@ declare namespace Nunjucks {
|
||||
autoescape: boolean;
|
||||
};
|
||||
|
||||
constructor();
|
||||
constructor(loader: ILoader, opts?: ConfigureOptions);
|
||||
constructor(loaders: ILoader[], opts?: ConfigureOptions);
|
||||
|
||||
constructor(loader?: ILoader | ILoader[], opts?: ConfigureOptions);
|
||||
render(name: string, context?: Object): string;
|
||||
render(name: string, context?: Object, callback?: (err: any, res: string) => any): void;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
"export-just-namespace": false,
|
||||
"interface-name": false,
|
||||
"prefer-const": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"unified-signatures": false
|
||||
"strict-export-declare-modifiers": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user