‘unknown’ vs. ‘any’

You can read more about unknown in the PR or the RC announcement, but the gist of it is: [..] unknown which is the type-safe counterpart of any. Anything is assignable to unknown, but unknown isn’t assignable to anything but itself and any without a type assertion or a control flow based narrowing. Likewise, no … Read more