*add ResolverModuleConstructor interface

This commit is contained in:
Derrick Hammer 2022-08-20 02:48:48 -04:00
parent 234074fb8f
commit ee4b80b4ce
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 2 deletions

View File

@ -17,9 +17,11 @@ declare class ResolverRegistry {
clear(): void; clear(): void;
} }
export interface ResolverModule { export interface ResolverModuleConstructor {
constructor(resolver: ResolverRegistry); new (resolver: ResolverRegistry);
}
export interface ResolverModule extends ResolverModuleConstructor {
resolve( resolve(
domain: string, domain: string,
options: ResolverOptions, options: ResolverOptions,