mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Update typescript to v4.2.4 (#33297)
* Update typescript to v4.2.4 * Update @types/slate * Fix QueryVariableEditor.test.tsx * Fix search-related type errors * Fix Plugin pages type errors * Fix missing initializer errors * Update snapshot * Revert tsconfig changes
This commit is contained in:
@@ -38,7 +38,7 @@ interface Props {
|
||||
index: number;
|
||||
timeRange?: TimeRange;
|
||||
onChangeTimeRange?: (timeRange: TimeRange) => void;
|
||||
onAddQuery: (query?: DataQuery) => void;
|
||||
onAddQuery: (query: DataQuery) => void;
|
||||
onRemoveQuery: (query: DataQuery) => void;
|
||||
onChange: (query: DataQuery) => void;
|
||||
onRunQuery: () => void;
|
||||
@@ -55,7 +55,7 @@ interface State {
|
||||
|
||||
export class QueryEditorRow extends PureComponent<Props, State> {
|
||||
element: HTMLElement | null = null;
|
||||
angularScope: AngularQueryComponentScope | null;
|
||||
angularScope: AngularQueryComponentScope | null = null;
|
||||
angularQueryEditor: AngularComponent | null = null;
|
||||
|
||||
state: State = {
|
||||
|
||||
@@ -51,7 +51,7 @@ interface State {
|
||||
export class QueryGroup extends PureComponent<Props, State> {
|
||||
backendSrv = backendSrv;
|
||||
dataSourceSrv = getDataSourceSrv();
|
||||
querySubscription: Unsubscribable | null;
|
||||
querySubscription: Unsubscribable | null = null;
|
||||
|
||||
state: State = {
|
||||
isLoadingHelp: false,
|
||||
|
||||
Reference in New Issue
Block a user