remove mitt typings namesapce

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent eaf339ed79
commit 57df28de2f
9 changed files with 23 additions and 15 deletions

View File

@@ -261,6 +261,13 @@ export type actionWithDelay = {
delay: number;
};
export type Handler = (event?: unknown) => void;
export type Emitter = {
on(type: string, handler: Handler): void;
emit(type: string, event?: unknown): void;
};
export enum ReplayerEvents {
Start = 'start',
Pause = 'pause',