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

Support nullish coalescing and optional chaining with TS 3.7 #914

Merged
merged 1 commit into from
Nov 3, 2019

Conversation

dfreeman
Copy link
Member

Brought to you by Project Night at Boston Ember

This PR updates ember-cli-typescript to add the Babel plugins for nullish coalescing and optional chaining if it detects a new enough project TypeScript version.

Until we update to TS 3.7 in this repo, though, I'm not 100% sure of a good way to test this (short of moving to a fancier multi-package workspaces-style testing setup, which we may eventually want to do anyway, but seems like a lot for this particular change). Definitely open to thoughts there.

I'm also assuming CI will fail until we get our Windows woes sorted 😢

@chriskrycho
Copy link
Member

I'll test it with the 3.7 RC, and we should be fine to bump to 3.7 when it's out given the specific way we're using TS in the build pipeline, right?

@dfreeman
Copy link
Member Author

Yep. I suppose we could even bump to the 3.7 rc now, since we have explicit CI coverage for the current release version as well.

@chriskrycho
Copy link
Member

Yeah, that makes sense as well. I'd be okay deferring this till it's officially out Just In Case™, but I don't have any strong objection to using the RC on master and just waiting to publish, either.

@chriskrycho
Copy link
Member

@dfreeman can you rebased this, and we can land it on master for people to experiment with? 🙏

@dfreeman
Copy link
Member Author

dfreeman commented Nov 3, 2019

Got a green one!

@dfreeman dfreeman merged commit 6c493ae into master Nov 3, 2019
@dfreeman dfreeman deleted the ts-3.7-plugins branch November 3, 2019 12:24
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.

None yet

2 participants