tc39 / proposal-type-annotations

ECMAScript proposal for type syntax that is erased - Stage 1
https://tc39.es/proposal-type-annotations/
4.13k stars 44 forks source link

Function overloading "up for debate" #199

Open ReinsBrain opened 9 months ago

ReinsBrain commented 9 months ago

Hi, I just wanted to weigh in with my strong support for function overloading. It's a feature I often miss in javascript and, otherwise, use extensively in other languages - especially constructor overloading. I'd really love to see it make it in if at all possible - although i realize adding it goes beyond just syntactic sugar :)