TypeScript 3.0 introduced a new unknown
type which is the type-safe counterpart of the any
type.
The main difference between unknown
and any
is that unknown
is much less permissive than any
TypeScript 3.0 و ارائهی نوع جدید unknown با محدودیتهای بیشتری از نوع any
308, PermanentRedirect