Chore: improve types (#78126)

* fix some types

* more type updates

* some more fixes

* more changes

* string instead of unknown

* more like original logic

* remove outdated comment

* update betterer
This commit is contained in:
Ashley Harrison
2023-11-16 12:39:12 +00:00
committed by GitHub
parent b0448b92e5
commit 2c0c51a0df
43 changed files with 135 additions and 236 deletions

View File

@@ -4,7 +4,7 @@ import { Geometry } from 'ol/geom';
import { DataFrame, Field, FieldType, getFieldTypeFromValue } from '@grafana/data';
interface FieldInfo {
values: any[];
values: Array<string | number | null | undefined>;
types: Set<FieldType>;
count: number;
}