Login
From:
Learning TypeScript Blog
(Uncensored)
subscribe
Narrowing Function Parameters With Rests And Tuples
https://www.learningtypescript.com/articles/narrowing-function-parameters-with-rests-and-tuples
links
backlinks
Roast topics
Find topics
Find it!
Using rest parameters and tuples to apply union type narrowing to a function's parameters