the process of refining types to more specific types than declared is called narrowing.
Last updated 3 years ago
Was this helpful?
(this is «T»)
this is «T»
👉
- «param» is «T»
«param» is «T»
- common property with literal types