Does Typescript have Operator Overloading?

后端 未结 1 1798
北海茫月
北海茫月 2021-01-03 19:40

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.

相关标签:
1条回答
  • 2021-01-03 20:15

    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.

    0 讨论(0)
提交回复
热议问题