mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-11-13 09:38:09 +00:00
Added sounds
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
export interface ISignal<T> {
|
||||
on(handler: (data: T) => void, thisArg: any): void;
|
||||
off(handler: (data: T) => void): void;
|
||||
export interface ISignal<T = void> {
|
||||
on(handler: (data?: T) => void, thisArg: any): void;
|
||||
off(handler: (data?: T) => void): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user