mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-04 22:39:47 +00:00
chore: Fix some types
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { RunningMainRet } from "./RunningMainRet";
|
||||
import { Effects, ExpectedExports } from "../types";
|
||||
import { Daemons } from "./Daemons";
|
||||
export * as network from "./exportInterfaces";
|
||||
export { LocalBinding } from "./LocalBinding";
|
||||
export { LocalPort } from "./LocalPort";
|
||||
@@ -25,10 +25,10 @@ export const runningMain: (
|
||||
fn: (o: {
|
||||
effects: Effects;
|
||||
started(onTerm: () => void): null;
|
||||
}) => Promise<RunningMainRet>
|
||||
}) => Promise<Daemons<any>>
|
||||
) => ExpectedExports.main = (fn) => {
|
||||
return async (options) => {
|
||||
const { daemon } = await fn(options);
|
||||
daemon.wait();
|
||||
/// TODO BLUJ
|
||||
return null as any;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user