mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Overload instead of pointless union
This commit is contained in:
Vendored
+2
-1
@@ -40,7 +40,8 @@ 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: ExphbsCallback | any, callback?: ExphbsCallback): void;
|
||||
renderView(viewPath: string, callback: ExphbsCallback): void;
|
||||
renderView(viewPath: string, options: any, callback: ExphbsCallback): void;
|
||||
}
|
||||
|
||||
interface ExpressHandlebars {
|
||||
|
||||
Reference in New Issue
Block a user