I’ve started work on a large-scale typescript project. Right from the outset, I want to keep my files organized (this project will be split between lots of developers so order is very necessary). I have been attempting to use modules / namespaces and splitting classes out into separate files for each one, with a folder holding the namespace. The file
Tag: typescript1.5
ECMAScript 6 spread syntax in object deconstruction. Support in TypeScript and Babel
Is the following valid ECMAScript 6? It seems to be supported by the latest version of Babel but it isn’t by TypeScript. I couldn’t find any ES6 references dealing with this case. Answer No, this is not valid ECMAScript 6. ES6 does only support rest syntax in function parameters and array destructuring, and spread syntax in function calls and array