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:
@@ -328,7 +328,7 @@ export function describeInterval(str: string) {
|
||||
);
|
||||
}
|
||||
return {
|
||||
sec: (intervals_in_seconds as any)[matches[2]] as number,
|
||||
sec: intervals_in_seconds[matches[2] as keyof typeof intervals_in_seconds],
|
||||
type: matches[2],
|
||||
count: parseInt(matches[1], 10),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user