···11export type Announcement<T> = MRpcBaseMsg & { type: "announcement"; args: T };
22+33+/**
44+ * Comes from the `@mys/m-rpc` library,
55+ * but it is not exported. Used to identify
66+ * messages sent via `postMessage`.
77+ */
28export type MRpcBaseMsg = { ns: string; name: string; key: number };