diff --git a/koa-hbs/index.d.ts b/koa-hbs/index.d.ts index 51c609e296..f38d2e9fdd 100644 --- a/koa-hbs/index.d.ts +++ b/koa-hbs/index.d.ts @@ -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; } } \ No newline at end of file