Update swig.d.ts

This commit is contained in:
damianog
2014-07-27 08:58:58 +02:00
parent f8cfab1788
commit 312632f1a4
+1 -1
View File
@@ -9,7 +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 function renderFile(pathName: string, locals?: any, cb?: (err: any, output: string) => void): string;
export interface Options {
allowErrors?: boolean;