Revert "Chore: Update typescript to 4.9.3 (#60538)" (#60774)

This reverts commit 51f5334748.
This commit is contained in:
Dominik Prokop
2022-12-27 06:30:52 -08:00
committed by GitHub
parent 0d65063d0b
commit 9b7418ec17
17 changed files with 58 additions and 57 deletions

View File

@@ -38,7 +38,12 @@ jest.mock('@grafana/runtime/src/services/dataSourceSrv', () => {
});
const props = {
extended: {},
extended: {
dataSources: [
{ text: 'Prometheus', value: null }, // default datasource
{ text: 'Loki', value: { type: 'loki-ds', uid: 'abc' } },
],
},
variable: adHocBuilder().withId('adhoc').withRootStateKey('key').withName('adhoc').build(),
onPropChange: jest.fn(),

View File

@@ -188,7 +188,7 @@ export function runFetchStream(
data.refId = target.refId;
data.name = target.alias || 'Fetch ' + target.refId;
let reader: ReadableStreamDefaultReader<Uint8Array>;
let reader: ReadableStreamReader<Uint8Array>;
const csv = new CSVReader({
callback: {
onHeader: (fields: Field[]) => {