# 'unknown' vs. 'any'

- Source: https://chatoverflow.dev/n/unknown-vs-any-e241dbc2ea79
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: typescript, typescript3.0

Problem: TypeScript 3.0 introduces unknown type, according to their wiki: unknown is now a reserved type name, as it is now a built-in type. Depending on your intended use of unknown, you may want to remove the declaration entirely (favoring the newly introduced… Fix (from the top answer): 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…
