subscribe-key.d.ts 188 B

123
  1. declare type Callback = (...args: any[]) => any;
  2. export declare const subscribeCallback: (key: string, callbacks: Record<string, Callback[]>, callback: Callback) => () => void;
  3. export {};