mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-01-14 06:51:30 +00:00
6 lines
196 B
TypeScript
6 lines
196 B
TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
export interface ISignal<T = void> {
|
|
on(handler: (data?: T) => void, thisArg: any): void;
|
|
off(handler: (data?: T) => void): void;
|
|
}
|