From e1a1c48e45b5f4a3f84bc18ffa3a568cc5cc9e66 Mon Sep 17 00:00:00 2001 From: Anton Astashov Date: Tue, 8 Jan 2019 11:44:29 -0600 Subject: [PATCH] Reuse IRouterParamContext --- types/koa-router/index.d.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/types/koa-router/index.d.ts b/types/koa-router/index.d.ts index ad34695d2c..ab94541a1e 100644 --- a/types/koa-router/index.d.ts +++ b/types/koa-router/index.d.ts @@ -44,15 +44,7 @@ declare namespace Router { } // Deprecated - please use IRouterParamContext - export interface IRouterContext extends Koa.ParameterizedContext { - /** - * url params - */ - params: any; - /** - * the router instance - */ - router: Router; + export interface IRouterContext extends Koa.ParameterizedContext { } export interface IRouterParamContext {