Skip to content

Fix default behavior for transpileModule when fileName not provided #32982

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 20, 2019

Conversation

rbuckton
Copy link
Contributor

Fixes an issue where we incorrectly assume a source is TSX when calling transpile or transpileModule without a filename or compiler options.

Fixes #32962

@RyanCavanaugh
Copy link
Member

@typescript-bot cherry-pick this into release-3.6

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Aug 19, 2019
Component commits:
c4c6df9 Fix default behavior for transpileModule when fileName not provided
@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, I've opened #32985 for you.

@rbuckton rbuckton merged commit 1bf2182 into master Aug 20, 2019
rbuckton pushed a commit that referenced this pull request Aug 20, 2019
Component commits:
c4c6df9 Fix default behavior for transpileModule when fileName not provided
@RyanCavanaugh RyanCavanaugh deleted the fix32962 branch August 20, 2019 15:52
timsuchanek pushed a commit to timsuchanek/TypeScript that referenced this pull request Sep 11, 2019
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.

transpile API error in 3.6/3.7 dev
4 participants