diff --git a/src/resolverModule.ts b/src/resolverModule.ts index 1895e4e..bbd773b 100644 --- a/src/resolverModule.ts +++ b/src/resolverModule.ts @@ -17,9 +17,11 @@ declare class ResolverRegistry { clear(): void; } -export interface ResolverModule { - constructor(resolver: ResolverRegistry); +export interface ResolverModuleConstructor { + new (resolver: ResolverRegistry); +} +export interface ResolverModule extends ResolverModuleConstructor { resolve( domain: string, options: ResolverOptions,