mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-23 22:52:59 +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 {
|
||||
createTelegrafOptions(): TelegrafModuleOptions;
|
||||
createTelegrafOptions(): Promise<TelegrafModuleOptions> | TelegrafModuleOptions;
|
||||
}
|
||||
|
||||
export interface TelegrafModuleAsyncOptions
|
||||
|
Loading…
Reference in New Issue
Block a user