From e202b5640cb1dda9bdd4f804c7df38c6065d45c1 Mon Sep 17 00:00:00 2001 From: J H <2364004+Blu-J@users.noreply.github.com> Date: Thu, 1 Feb 2024 13:19:29 -0700 Subject: [PATCH] chore: Update the main types --- lib/types.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/types.ts b/lib/types.ts index 29d0ec2..f45765e 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -2,6 +2,7 @@ export * as configTypes from "./config/configTypes" import { InputSpec } from "./config/configTypes" import { DependenciesReceipt } from "./config/setupConfig" import { PortOptions } from "./interfaces/Host" +import { Daemons } from "./mainFn/Daemons" import { Overlay } from "./util/Overlay" import { UrlString } from "./util/getNetworkInterface" import { NetworkInterfaceType, Signals } from "./util/utils" @@ -59,8 +60,8 @@ export namespace ExpectedExports { */ export type main = (options: { effects: Effects - started(onTerm: () => void): null - }) => Promise + started(onTerm: () => Promise): Promise + }) => Promise> /** * After a shutdown, if we wanted to do any operations to clean up things, like