Update swig.d.ts

Added function renderFile
This commit is contained in:
damianog
2014-07-26 14:33:29 +02:00
parent 2cea6c29c7
commit f8cfab1788
+1
View File
@@ -9,6 +9,7 @@ declare module "swig" {
export function init(options: Options): void;
export function compileFile(filepath: string): any;
export function compile(source: string, options?: Options): any;
export function renderFile(pathName: string, locals: any, cb: (err: any, output: string) => void): string;
export interface Options {
allowErrors?: boolean;