mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 17:34:22 +08:00
Chore: Fix remaining ts strict error in Elasticsearch datasource (#40605)
This commit is contained in:
@ -36,7 +36,7 @@ export const ElasticsearchProvider = ({
|
||||
[onChange, onRunQuery]
|
||||
);
|
||||
|
||||
const reducer = combineReducers({
|
||||
const reducer = combineReducers<Pick<ElasticsearchQuery, 'query' | 'alias' | 'metrics' | 'bucketAggs'>>({
|
||||
query: queryReducer,
|
||||
alias: aliasPatternReducer,
|
||||
metrics: metricsReducer,
|
||||
|
Reference in New Issue
Block a user