Chore: Improve typings 🧹 (#74599)

* various type fixes

* candlestick panel type fixes

* few more fixes

* some fixes

* more :)

* moar!

* undo change to SilencesFilter

* undo change to configureStore
This commit is contained in:
Ashley Harrison
2023-09-13 09:17:07 +01:00
committed by GitHub
parent 5753024ad5
commit 0c44a6f9bb
62 changed files with 335 additions and 566 deletions

View File

@@ -65,7 +65,7 @@ describe('optionsPickerReducer', () => {
clearOthers: args.clearOthers,
option: { text: args.option, value: args.option, selected: true },
};
const expectedAsRecord: any = args.expectSelected.reduce((all: any, current: any) => {
const expectedAsRecord = args.expectSelected.reduce((all: any, current: any) => {
all[current] = current;
return all;
}, {});