*More type changes
This commit is contained in:
parent
67ef8b8030
commit
fa0e3d6a71
|
@ -4,7 +4,7 @@ import { getTld } from "./util.js";
|
|||
import { ResolverRegistry } from "@lumeweb/resolver";
|
||||
|
||||
export interface ResolverModule {
|
||||
new (resolver: ResolverRegistry): any;
|
||||
constructor(resolver: ResolverRegistry);
|
||||
|
||||
resolve(
|
||||
domain: string,
|
||||
|
@ -21,7 +21,6 @@ export abstract class AbstractResolverModule implements ResolverModule {
|
|||
|
||||
constructor(resolver: ResolverRegistry) {
|
||||
this.resolver = resolver;
|
||||
return this;
|
||||
}
|
||||
|
||||
abstract resolve(
|
||||
|
|
Loading…
Reference in New Issue