This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/shared/lib/mitt.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

9 lines
263 B
TypeScript

type Handler = (...evts: any[]) => void;
export type MittEmitter<T> = {
on(type: T, handler: Handler): void;
off(type: T, handler: Handler): void;
emit(type: T, ...evts: any[]): void;
};
export default function mitt(): MittEmitter<string>;
export {};