mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Vendored
+2
-2
@@ -28,7 +28,7 @@ declare module "swig" {
|
||||
compileFile(pathname: string, options?: SwigOptions): (locals?: any) => string;
|
||||
render(source: string, options?: SwigOptions): string;
|
||||
renderFile(pathName: string, locals: any, cb: (err: Error, output: string) => void): void;
|
||||
renderFile(pathName: string, locals?: any): string
|
||||
renderFile(pathName: string, locals?: any): string;
|
||||
run(templateFn: Function, locals?: any, filePath?: string): string;
|
||||
invalidateCache(): void;
|
||||
|
||||
@@ -155,4 +155,4 @@ declare module "swig" {
|
||||
export function renderFile(pathName: string, locals?: any): string
|
||||
export function run(templateFn: Function, locals?: any, filePath?: string): string;
|
||||
export function invalidateCache(): void;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user