refactor: unwrap BusEvent namespace + self-reexport (#22962)

This commit is contained in:
Kit Langton
2026-04-16 23:46:49 +00:00
committed by GitHub
parent cb18f2ef40
commit 23d48a7cf1
+2 -2
View File
@@ -1,7 +1,6 @@
import z from "zod" import z from "zod"
import type { ZodType } from "zod" import type { ZodType } from "zod"
export namespace BusEvent {
export type Definition = ReturnType<typeof define> export type Definition = ReturnType<typeof define>
const registry = new Map<string, Definition>() const registry = new Map<string, Definition>()
@@ -30,4 +29,5 @@ export namespace BusEvent {
}) })
.toArray() .toArray()
} }
}
export * as BusEvent from "./bus-event"