mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Update express-handlebars.d.ts
This commit is contained in:
2
express-handlebars/express-handlebars.d.ts
vendored
2
express-handlebars/express-handlebars.d.ts
vendored
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user