diff --git a/swig/swig.d.ts b/swig/swig.d.ts index 4f2b22123..5de872c10 100644 --- a/swig/swig.d.ts +++ b/swig/swig.d.ts @@ -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; -} \ No newline at end of file +}