export default

Topics: Language Specification
Nov 21, 2013 at 3:57 PM
I noticed that the ES6 spec use the syntax "export default" while TypeScript uses "export = " I think these are the same things...and was wondering if there was a plan to change the TypeScript syntax to match the ES6 proposal.
Nov 22, 2013 at 11:05 PM
As the ES6 proposal is still in transition, what we might do long term is to support both syntaxes. Or, possibly, to have a commandline option that allows you to prefer the ES6 one, for example.