feat: Make the multi better

This commit is contained in:
BluJ
2023-05-11 16:31:31 -06:00
parent ed56e39f00
commit b18744d197
2 changed files with 7 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ describe("host", () => {
test("Testing that the types work", () => {
async function test(effects: Effects) {
const utils = createUtils<never, never>(effects)
const foo = utils.host.multi({ id: "foo" })
const foo = utils.host.multi("foo")
const fooOrigin = await foo.bindPort(80, { protocol: "http" as const })
const fooInterface = new NetworkInterfaceBuilder({
effects,