tsv2-library 1.0.61-alpha.127 → 1.0.61-alpha.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Emitter
|
|
1
|
+
import { Emitter } from './mitt';
|
|
2
2
|
export type TableEvent = {
|
|
3
3
|
tableName?: string;
|
|
4
4
|
};
|
|
5
|
-
export type Events<CustomEvents
|
|
6
|
-
declare const eventBus: Emitter<Record<string,
|
|
7
|
-
export declare const extendEventBus: <T extends Record<string,
|
|
5
|
+
export type Events<CustomEvents = Record<string, unknown>> = CustomEvents;
|
|
6
|
+
declare const eventBus: Emitter<Record<string, unknown>>;
|
|
7
|
+
export declare const extendEventBus: <T extends Record<string, unknown>>() => Emitter<T>;
|
|
8
8
|
export default eventBus;
|