mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-07 01:39:07 +00:00
4
swig/swig.d.ts
vendored
4
swig/swig.d.ts
vendored
@@ -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