2 ms·
The big difference between TS and ES6 is dependency injection. Types can be resolved through TS types while you need to use decorators with ES6. The problem I
by aikah 11y ago
The big difference between TS and ES6 is dependency injection. Types can be resolved through TS types while you need to use decorators with ES6.
The problem I have with decorators is that they are not officially part of ES7 spec yet, even if there is a big chance they end up in the final spec, features like ES6 modules are a proof that things can be reworked to death before being standardized.