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