[Fix] Async options factory (#233)

This commit is contained in:
Morbo 2021-01-23 19:51:46 +03:00 committed by GitHub
parent 0b8819665a
commit 2b48bce92a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ export interface TelegrafModuleOptions {
}
export interface TelegrafOptionsFactory {
createTelegrafOptions(): TelegrafModuleOptions;
createTelegrafOptions(): Promise<TelegrafModuleOptions> | TelegrafModuleOptions;
}
export interface TelegrafModuleAsyncOptions