diff --git a/src/resolverModule.ts b/src/resolverModule.ts index 506d0c7..d385d02 100644 --- a/src/resolverModule.ts +++ b/src/resolverModule.ts @@ -23,7 +23,9 @@ export interface ResolverModule extends ResolverModuleConstructor { bypassCache: boolean ): Promise; - getSupportedTlds(): string[] | Promise; + getSupportedTlds(): string[]; + getSupportedTlds(): Promise; + getSupportedTlds(): any; } // ts-ignore @@ -40,7 +42,9 @@ export abstract class AbstractResolverModule { bypassCache: boolean ): Promise; - getSupportedTlds(): string[] | Promise { + getSupportedTlds(): string[]; + getSupportedTlds(): Promise; + getSupportedTlds(): any { return []; }