From 8c2c49013be58f19b3e66ac545ca7b631b9c5844 Mon Sep 17 00:00:00 2001 From: Kravets <57632712+kravetsone@users.noreply.github.com> Date: Sun, 25 Feb 2024 17:05:56 +0300 Subject: [PATCH] feat: add context.is derive support --- src/bot.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bot.ts b/src/bot.ts index 05fd2a1..4a52a6d 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -28,6 +28,8 @@ export class Bot< Errors extends ErrorDefinitions = {}, Derives extends DeriveDefinitions = DeriveDefinitions, > { + __Derives!: Derives; + readonly options: BotOptions = {}; info: TelegramUser | undefined;