Skip to content

Commit ed23c11

Browse files
committed
fix: 🐛 revert type change
1 parent 66cbf56 commit ed23c11

File tree

1 file changed

+1
-1
lines changed
  • src/plugins/kibana_utils/common/persistable_state

1 file changed

+1
-1
lines changed

src/plugins/kibana_utils/common/persistable_state/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export interface PersistableState<P extends SerializableState = SerializableStat
7777
* @param state
7878
* @param collector
7979
*/
80-
telemetry: <Stats extends Record<string, any>>(state: P, collector: Stats) => Stats;
80+
telemetry: (state: P, collector: Record<string, any>) => Record<string, any>;
8181
/**
8282
* inject function receives state and a list of references and should return state with references injected
8383
* default is identity function

0 commit comments

Comments
 (0)