From 744da0a92255c410fee0940cfc66752266e0ff5a Mon Sep 17 00:00:00 2001 From: Aleksandr Bukhalo Date: Sun, 13 Sep 2020 11:28:42 +0300 Subject: [PATCH] refactor: cleanup context interface --- lib/interfaces/context.interface.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/interfaces/context.interface.ts b/lib/interfaces/context.interface.ts index b45bc97..d670e24 100644 --- a/lib/interfaces/context.interface.ts +++ b/lib/interfaces/context.interface.ts @@ -1,11 +1,3 @@ import { Context as TelegrafContext } from 'telegraf'; -export interface Context extends TelegrafContext { - [key: string]: any; -} - -/** - * Removed type from Telegraf v3.38.0, added for backward compatibility. - * TODO: remove on next major release - */ -export interface ContextMessageUpdate extends Context {} +export interface Context extends TelegrafContext {}