7 ms·
What About Named Parameters? I'm surprised Typescript has not tried to add this major missing feature from Javascript. I know you can hack this using an Objec
by garyclarke27 4y ago
What About Named Parameters?
I'm surprised Typescript has not tried to add this major missing feature from Javascript.
I know you can hack this using an Object, but for me Named Parameters are so useful for code readability and intent - especially for calling functions to make it obvious what's happening and to so that different order of arguments doesn't cause bugs.