mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
Fix koa-hbs
This commit is contained in:
Vendored
+2
-2
@@ -37,7 +37,7 @@ declare namespace Hbs {
|
||||
layoutsPath?: string,
|
||||
contentHelperName?: string,
|
||||
blockHelperName?: string,
|
||||
disableCache?: boolean
|
||||
disableCache?: boolean
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ declare const hbs: Hbs;
|
||||
export = hbs;
|
||||
|
||||
declare module "koa" {
|
||||
export interface Context extends Request, Response {
|
||||
export interface Context {
|
||||
render(tpl: string, locals?: {[key: string]: any}): Promise<void>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user