UNPKG

@jeaks03/overseer

Version:

Just another TypeScript Back-End framework

12 lines (11 loc) 318 B
import { EventType, Event } from "../misc/custom-types"; export interface IEvents { register(type: EventType, event: Event): void; dispatch(type: EventType): void; } export declare class Events { private events; constructor(); register(type: EventType, event: Event): void; private dispatch; }