export default

Topics: Language Specification
Nov 21, 2013 at 4: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 23, 2013 at 12:05 AM
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.