From fa0e3d6a718de5b0d6ec255f9b6b67618db6032b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 19 Aug 2022 13:42:14 -0400 Subject: [PATCH] *More type changes --- src/resolverModule.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/resolverModule.ts b/src/resolverModule.ts index c9fae7a..9dd1a47 100644 --- a/src/resolverModule.ts +++ b/src/resolverModule.ts @@ -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(