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:
Ashley Harrison
2023-06-20 17:13:49 +01:00
committed by GitHub
parent c07d3c7bdd
commit 13e3308959
17 changed files with 91 additions and 141 deletions

View File

@@ -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;
}
}