Search code examples
typescriptoperator-overloading

Does Typescript have Operator Overloading?


My question is if there is operator overloading in typescript, if it exists I could give an example or a link where you can read about it.


Solution

  • No it does not exist. It is very unlikely that it will exist unless there is a clear Spec on how it might be implemented in Pure JavaScript.