From 5fe09d6af1961df03d13a78a4f6d5ac802bea4aa Mon Sep 17 00:00:00 2001 From: BluJ Date: Wed, 17 May 2023 15:04:53 -0600 Subject: [PATCH] chore: Remove the of --- lib/util/utils.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/util/utils.ts b/lib/util/utils.ts index cffb332..3f2bc74 100644 --- a/lib/util/utils.ts +++ b/lib/util/utils.ts @@ -69,7 +69,6 @@ export type Utils = { }) => Promise getSystemSmtp: () => GetSystemSmtp & WrapperOverWrite host: { - of: (options: { kind: "static" | "single" | "multi"; id: string }) => Host static: (id: string) => StaticHost single: (id: string) => SingleHost multi: (id: string) => MultiHost @@ -158,8 +157,6 @@ export const utils = < new GetSystemSmtp(effects) as GetSystemSmtp & WrapperOverWrite, host: { - of: (options: { kind: "static" | "single" | "multi"; id: string }) => - new Host({ ...options, effects }), static: (id: string) => new StaticHost({ id, effects }), single: (id: string) => new SingleHost({ id, effects }), multi: (id: string) => new MultiHost({ id, effects }),