mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: some type fixes (#69860)
* some type fixes * restore empty object * undo 1 fix for now * commit betterer update * explicitly type slug and uid as string | undefined
This commit is contained in:
@@ -120,7 +120,7 @@ export function getLastNotNullFieldValue<T>(field: Field): T {
|
||||
if (calcs) {
|
||||
const v = calcs[ReducerID.lastNotNull];
|
||||
if (v != null) {
|
||||
return v as T;
|
||||
return v;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user