*add ResolverModuleConstructor interface
This commit is contained in:
parent
234074fb8f
commit
ee4b80b4ce
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue