Skip to content

Changed 'export =' to 'export default' to support typescript with target ES6 - #4193

Closed
eriklieben wants to merge 1 commit into
DefinitelyTyped:tsc-1.5.0-alphafrom
eriklieben:tsc-1.5.0-alpha
Closed

eriklieben wants to merge 1 commit into
DefinitelyTyped:tsc-1.5.0-alphafrom
eriklieben:tsc-1.5.0-alpha

Conversation

@eriklieben

Copy link
Copy Markdown
Contributor

When using the jquery typescript definition file and compiling on 1.5.0-alpha to target ES6 it throws the following error:

error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead.

This change will fix that. Hope I don't break anything, first time doing a pull request.

@vvakame

vvakame commented Apr 28, 2015

Copy link
Copy Markdown
Member

note microsoft/TypeScript#2929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants