Narrowing
the process of refining types to more specific types than declared is called narrowing.
Last updated
Was this helpful?
the process of refining types to more specific types than declared is called narrowing.
Last updated
Was this helpful?
Was this helpful?
this-based type guards (this is ยซTยป
)
type predicate - ยซparamยป is ยซTยป
discriminated union - common property with literal types