Proposal: Support unknown
, rename TypeId::ANY_TYPE
-> TypeId::UNKNOWN_TYPE
#137
Labels
blocking
These issues are blocking the checker being used in projects
checking
Issues around checking
enhancement
New feature or request
Right now
unknown
isn't supported:If I try to check
I get
Cannot find type unknown
.Based on the Ezno announcement post, I'm understanding that Ezno wants to treat the
any
type the same as the tscunknown
type. i.e. a type with no information or constraints on it.From the Ezno announcement post
Since codebases will undoubtedly have an amalgam of both
any
, andunknown
types sprinkled through out; I'm proposing a few thingsany
andunknown
get supported by mapping them to the same internal type.TypeId::ANY_TYPE
toTypeId::UNKNOWN_TYPE
, because it more closely matches that construct in TSC.unknown
andany
to still be shown in error messages as they were written in source code.The text was updated successfully, but these errors were encountered: