UNPKG

baked-recipe-admin

Version:

Baked is an opinionated framework for .NET in backend and Nuxt in frontend. This is a recipe package that brings together all the components one needs for an Admin UI.

11 lines (9 loc) 330 B
type Handler = (evt: unknown) => void; interface EventBusOptions { on(type: string, handler: Handler): void; off(type: string, handler: Handler): void; emit(type: string, evt?: unknown): void; clear(): void; } declare function EventBus(): EventBusOptions; export { EventBus, type EventBusOptions, type Handler };