summaryrefslogtreecommitdiffhomepage
path: root/js/src/bus
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/bus')
-rw-r--r--js/src/bus/index.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/js/src/bus/index.ts b/js/src/bus/index.ts
index 82bc614e0..15d2b1107 100644
--- a/js/src/bus/index.ts
+++ b/js/src/bus/index.ts
@@ -30,17 +30,6 @@ export namespace Bus {
return result;
}
- export function payloads() {
- return registry
- .entries()
- .map(([type, def]) =>
- z.object({
- type: z.string("hey"),
- }),
- )
- .toArray();
- }
-
export function specs() {
const children = {} as any;
for (const [type, def] of registry.entries()) {