Chore: Upgrade typescript to version 4.3.4, storybook to 6.3.0 (#35374)

* Chore: Upgrade typescript to version 4.3.4, storybook to 6.3.0
This commit is contained in:
kay delaney
2021-06-24 14:29:03 +01:00
committed by GitHub
parent 4be9afb7e2
commit aae3b76d84
14 changed files with 728 additions and 476 deletions

View File

@@ -1,5 +1,5 @@
import { ThunkAction, ThunkDispatch as GenericThunkDispatch } from 'redux-thunk';
import { PayloadAction } from '@reduxjs/toolkit';
import { Action, PayloadAction } from '@reduxjs/toolkit';
import { NavIndex } from '@grafana/data';
import { AlertRulesState, NotificationChannelState } from './alerting';
import { UnifiedAlertingState } from '../features/alerting/unified/state/reducers';
@@ -50,4 +50,4 @@ export interface StoreState {
*/
export type ThunkResult<R> = ThunkAction<R, StoreState, undefined, PayloadAction<any>>;
export type ThunkDispatch = GenericThunkDispatch<StoreState, undefined, any>;
export type ThunkDispatch = GenericThunkDispatch<StoreState, undefined, Action>;