refactor: unwrap BusEvent namespace + self-reexport (#22962)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import z from "zod"
|
||||
import type { ZodType } from "zod"
|
||||
|
||||
export namespace BusEvent {
|
||||
export type Definition = ReturnType<typeof define>
|
||||
|
||||
const registry = new Map<string, Definition>()
|
||||
@@ -30,4 +29,5 @@ export namespace BusEvent {
|
||||
})
|
||||
.toArray()
|
||||
}
|
||||
}
|
||||
|
||||
export * as BusEvent from "./bus-event"
|
||||
|
||||
Reference in New Issue
Block a user