update types and format bindings

This commit is contained in:
Aiden McClelland
2024-03-28 11:20:20 -06:00
parent 65ca038eee
commit 86d61d698a
101 changed files with 457 additions and 139 deletions

View File

@@ -3,4 +3,9 @@ import type { BindInfo } from "./BindInfo";
import type { HostAddress } from "./HostAddress";
import type { HostKind } from "./HostKind";
export type Host = { kind: HostKind, bindings: { [key: number]: BindInfo }, addresses: Array<HostAddress>, primary: HostAddress | null, };
export type Host = {
kind: HostKind;
bindings: { [key: number]: BindInfo };
addresses: Array<HostAddress>;
primary: HostAddress | null;
};