News for hackers. Stuff that matters.
Re:Porting a React Front End to TypeScript by monkpit on Tuesday April 28, 2020 @10:31AM (#23007328)
You’re referring to a variadic function, which can be written in most modern languages.

The commenter you are replying to is talking about a function of fixed-arity, with a config object with required props. Which props are required? A Typed language will tell you immediately “for free”.

There are no comments on this comment yet.