feat: some refactoring and cleanup
This commit is contained in:
4
lib/Subscriber.ts
Normal file
4
lib/Subscriber.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export type LEvent = string;
|
||||
export default interface ISubscriber<T extends LEvent> {
|
||||
notify(publisher: unknown, event: T): void;
|
||||
}
|
||||
Reference in New Issue
Block a user