mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-09-23 09:49:06 +03:00
refactor(types): use exported options types (#232)
This commit is contained in:
@@ -16,6 +16,3 @@ export type ComposerMethodArgs<
|
||||
T extends Composer<never>,
|
||||
U extends OnlyFunctionPropertyNames<T> = OnlyFunctionPropertyNames<T>
|
||||
> = Filter<Parameters<T[U]>, Middleware<never>>;
|
||||
|
||||
export type LaunchOptions = Parameters<Telegraf['launch']>[0];
|
||||
export type TelegrafOptions = ConstructorParameters<typeof Telegraf>[1];
|
||||
|
Reference in New Issue
Block a user