3 ms·
Outside of type annotations, Typescript never supports syntax that isn't in an ECMAScript standard or a popular proposal. That said, there is a Stage 1 TC39 pr
by paulddraper 8y ago
Outside of type annotations, Typescript never supports syntax that isn't in an ECMAScript standard or a popular proposal.
That said, there is a Stage 1 TC39 proposal for partial application. https://github.com/tc39/proposal-partial-application https://github.com/tc39/proposal-partial-application
- Roboprog 8y agoThanks for the tip. I have been using Ramda’s R.partial() function a bit, as well as some in-house stuff (e.g. - to generate 0-arity event handlers), but this would be a very helpful feature, particularly once IDE recognition becomes widespread. Background: suite of related projects started in early 2015, ES5 on IE11 kind of limitations... (recently started using a transpiler for syntactic sugar)