mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-03-21 01:03:44 +03:00
[Fix] Async options factory (#233)
This commit is contained in:
parent
0b8819665a
commit
2b48bce92a
@ -11,7 +11,7 @@ export interface TelegrafModuleOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface TelegrafOptionsFactory {
|
export interface TelegrafOptionsFactory {
|
||||||
createTelegrafOptions(): TelegrafModuleOptions;
|
createTelegrafOptions(): Promise<TelegrafModuleOptions> | TelegrafModuleOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TelegrafModuleAsyncOptions
|
export interface TelegrafModuleAsyncOptions
|
||||||
|
Loading…
Reference in New Issue
Block a user