chore: added devdependencies, fixed exports

This commit is contained in:
Daniel Ledda
2022-05-28 13:30:22 +02:00
parent 5b8290ccdd
commit 2680d16a5d
4 changed files with 59 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
export type LEvent = string;
export default interface ISubscriber<T extends LEvent> {
export interface ISubscriber<T extends LEvent> {
notify(publisher: unknown, event: T): void;
}