*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";
|
import { ResolverRegistry } from "@lumeweb/resolver";
|
||||||
|
|
||||||
export interface ResolverModule {
|
export interface ResolverModule {
|
||||||
new (resolver: ResolverRegistry): any;
|
constructor(resolver: ResolverRegistry);
|
||||||
|
|
||||||
resolve(
|
resolve(
|
||||||
domain: string,
|
domain: string,
|
||||||
|
@ -21,7 +21,6 @@ export abstract class AbstractResolverModule implements ResolverModule {
|
||||||
|
|
||||||
constructor(resolver: ResolverRegistry) {
|
constructor(resolver: ResolverRegistry) {
|
||||||
this.resolver = resolver;
|
this.resolver = resolver;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract resolve(
|
abstract resolve(
|
||||||
|
|
Loading…
Reference in New Issue