Hacker News new | ask | show | jobs
by The_rationalist 2158 days ago
generally yes, but specifically here typescript does not have named parameters (yeah you can emulate with a hack through object literals which is sad)
1 comments

What's sad about it? Having interfaces defining the arguments of functions with complex parameters in a type safe manner and with support for auto-completion is one of the greatest thing to ever happen to JavaScript in my opinion. And you get named function arguments as a by-product of something way more powerful than just that.