Skip to content

Use defaults for transpileModule #31563

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

Merged
merged 1 commit into from
Aug 9, 2019
Merged

Use defaults for transpileModule #31563

merged 1 commit into from
Aug 9, 2019

Conversation

rbuckton
Copy link
Contributor

This change fills in the default compiler options for transpileModule so that transpileModule(text, {}) and transpileModule(text, { compilerOptions: {} }) result in the same output.

@DanielRosenwasser, @RyanCavanaugh: This could be considered a breaking change and thus we may want to consider postponing this until 3.6.

Fixes #28874

@rbuckton rbuckton requested a review from weswigham May 23, 2019 18:07
@rbuckton rbuckton merged commit 9133e7a into master Aug 9, 2019
@rbuckton rbuckton deleted the fix28874 branch August 9, 2019 21:04
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.

Method decorators break with compilerOptions specified
3 participants