chore: Update the main types

This commit is contained in:
J H
2024-02-01 13:19:29 -07:00
parent 7be894bda6
commit e202b5640c

View File

@@ -2,6 +2,7 @@ export * as configTypes from "./config/configTypes"
import { InputSpec } from "./config/configTypes" import { InputSpec } from "./config/configTypes"
import { DependenciesReceipt } from "./config/setupConfig" import { DependenciesReceipt } from "./config/setupConfig"
import { PortOptions } from "./interfaces/Host" import { PortOptions } from "./interfaces/Host"
import { Daemons } from "./mainFn/Daemons"
import { Overlay } from "./util/Overlay" import { Overlay } from "./util/Overlay"
import { UrlString } from "./util/getNetworkInterface" import { UrlString } from "./util/getNetworkInterface"
import { NetworkInterfaceType, Signals } from "./util/utils" import { NetworkInterfaceType, Signals } from "./util/utils"
@@ -59,8 +60,8 @@ export namespace ExpectedExports {
*/ */
export type main = (options: { export type main = (options: {
effects: Effects effects: Effects
started(onTerm: () => void): null started(onTerm: () => Promise<void>): Promise<void>
}) => Promise<unknown> }) => Promise<Daemons<any, any>>
/** /**
* After a shutdown, if we wanted to do any operations to clean up things, like * After a shutdown, if we wanted to do any operations to clean up things, like