Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use typescript 2.7.1 and esModuleInterop #125

Merged
merged 1 commit into from
Feb 7, 2018

Conversation

jinwoo
Copy link
Member

@jinwoo jinwoo commented Feb 6, 2018

[BREAKING CHANGE]

This PR is both for the generated package.json and gts itself.

TypeScript 2.7.1 added --esModuleInterop for better ES module
support. And for that, we need to turn on allowSyntheticDefaultImports
too.

Also tslint must be upgraded to 5.9.1 for it to compile with
esModuleInterop.

[BREAKING CHANGE]

This PR is both for the generated `package.json` and `gts` itself.

TypeScript 2.7.1 added `--esModuleInterop` for better ES module
support. And for that, we need to turn on `allowSyntheticDefaultImports`
too.

Also `tslint` must be upgraded to 5.9.1 for it to compile with
`esModuleInterop`.
@jinwoo jinwoo requested review from ofrobots and a team February 6, 2018 00:20
@jinwoo
Copy link
Member Author

jinwoo commented Feb 6, 2018

This replaces #124. This PR will land the change onto the next branch.

Copy link
Contributor

@ofrobots ofrobots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for next.

@jinwoo jinwoo merged commit a6e12b3 into google:next Feb 7, 2018
@jinwoo jinwoo deleted the esmoduleinterop branch February 7, 2018 01:01
ofrobots pushed a commit that referenced this pull request Mar 29, 2018
[BREAKING CHANGE]

This PR is both for the generated `package.json` and `gts` itself.

TypeScript 2.7.1 added `--esModuleInterop` for better ES module
support. And for that, we need to turn on `allowSyntheticDefaultImports`
too.

Also `tslint` must be upgraded to 5.9.1 for it to compile with
`esModuleInterop`.
ofrobots pushed a commit that referenced this pull request Apr 23, 2018
[BREAKING CHANGE]

This PR is both for the generated `package.json` and `gts` itself.

TypeScript 2.7.1 added `--esModuleInterop` for better ES module
support. And for that, we need to turn on `allowSyntheticDefaultImports`
too.

Also `tslint` must be upgraded to 5.9.1 for it to compile with
`esModuleInterop`.
@jinwoo jinwoo mentioned this pull request May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants