feat: upgrade telegraf package to the latest version

This commit is contained in:
Aleksandr Bukhalo
2020-05-03 09:46:28 +03:00
parent 2133594688
commit aece1d0bca
10 changed files with 43 additions and 42 deletions

View File

@@ -0,0 +1,5 @@
import { TelegrafContext } from 'telegraf/typings/context';
export interface Context extends TelegrafContext {
[key: string]: any;
}

View File

@@ -1,2 +1,2 @@
export { ContextMessageUpdate } from 'telegraf';
export * from './context.interface';
export * from './telegraf-options.interface';

View File

@@ -3,7 +3,7 @@ import {
TelegrafOptions,
LaunchPollingOptions,
LaunchWebhookOptions,
} from 'telegraf';
} from 'telegraf/typings/telegraf';
export interface TelegrafModuleOptions {
token: string;