You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After originally indicating it was a design limitation, the TypeScript team revisited allowing the ability to model type narrowing via assert(). The assert() pattern is heavily used within Deno and once microsoft/TypeScript#32695 is landed is part of a TypeScript release we will be able to make all of our code more sound.
The text was updated successfully, but these errors were encountered:
Tracking issue.
After originally indicating it was a design limitation, the TypeScript team revisited allowing the ability to model type narrowing via
assert()
. Theassert()
pattern is heavily used within Deno and once microsoft/TypeScript#32695 is landed is part of a TypeScript release we will be able to make all of our code more sound.The text was updated successfully, but these errors were encountered: