Merge pull request #6505 from stpettersens/master

Correction to express-handlebars
This commit is contained in:
Masahiro Wakame
2015-11-02 22:26:39 +09:00
+1 -1
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?: () => string): void;
renderView(viewPath: string, optionsOrCallback: any, callback?: () => string): void;
}
declare module "express-handlebars" {