tc39 / proposal-call-this

A proposal for a simple call-this operator in JavaScript.
https://tc39.es/proposal-call-this/
MIT License
121 stars 5 forks source link

TypeScript implementation #28

Open yukukotani opened 5 months ago

yukukotani commented 5 months ago

Let me share my work of implementing call-this operator to TypeScript. It includes rough type check of receivers using this parameter. Any feedback is welcome.

Hope this helps the proposal to be proceed.

https://github.com/microsoft/TypeScript/pull/58294