Archived
1
0

First commit

This commit is contained in:
Sean Edmunds
2021-12-13 17:00:40 -06:00
commit 0584430b5c
36617 changed files with 4676695 additions and 0 deletions

15
node_modules/microevent.ts/lib/Event.d.ts generated vendored Normal file
View File

@@ -0,0 +1,15 @@
import EventInterface from './EventInterface';
declare class Event<EventPayload> implements EventInterface<EventPayload> {
constructor();
addHandler<T>(handler: EventInterface.HandlerInterface<EventPayload, T>, context?: T): Event<EventPayload>;
removeHandler<T>(handler: EventInterface.HandlerInterface<EventPayload, T>, context?: T): Event<EventPayload>;
isHandlerAttached<T>(handler: EventInterface.HandlerInterface<EventPayload, T>, context?: T): boolean;
dispatch: (payload: EventPayload) => void;
hasHandlers: boolean;
private _updateHasHandlers;
private _getHandlerIndex;
private _createDispatcher;
private _handlers;
private _contexts;
}
export default Event;