We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66cbf56 commit ed23c11Copy full SHA for ed23c11
src/plugins/kibana_utils/common/persistable_state/index.ts
@@ -77,7 +77,7 @@ export interface PersistableState<P extends SerializableState = SerializableStat
77
* @param state
78
* @param collector
79
*/
80
- telemetry: <Stats extends Record<string, any>>(state: P, collector: Stats) => Stats;
+ telemetry: (state: P, collector: Record<string, any>) => Record<string, any>;
81
/**
82
* inject function receives state and a list of references and should return state with references injected
83
* default is identity function
0 commit comments