Update express-handlebars.d.ts

This commit is contained in:
Sam Saint-Pettersen
2015-10-22 18:04:55 +01:00
parent 0bf4af5b28
commit 76a5673ef3

View File

@@ -37,7 +37,7 @@ interface Exphbs {
getTemplate(filePath: string, options?: PartialTemplateOptions): Promise<Function>;
getTemplates(dirPath: string, options?: PartialTemplateOptions): Promise<Object>;
render(filePath: string, context: Object, options?: RenderOptions): Promise<string>;
renderView(viewPath: string, optionsOrCallback?: any, callback?: Function): void;
renderView(viewPath: string, optionsOrCallback?: any, callback?: () => string): void;
}
declare module "express-handlebars" {