diff --git a/swig/swig.d.ts b/swig/swig.d.ts index 6255815bdd..4d8bc9ebe0 100644 --- a/swig/swig.d.ts +++ b/swig/swig.d.ts @@ -11,6 +11,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;