unknown
↔ Top Type to rep any
value but also make it illegal to use (w/o Narrow)
Source: The unknown Type in TypeScript — Marius Schulz
//@ts-expect-error: Object is of Type "unknown"
unknown
can be used with Runtime Type-Check logic
let input: unknown
input = "bob"
if (typeof input === "string") input.toUpperCase()