Skip to content

Fix default behavior for transpileModule when fileName not provided#32982

Merged
rbuckton merged 1 commit into
masterfrom
fix32962
Aug 20, 2019
Merged

Fix default behavior for transpileModule when fileName not provided#32982
rbuckton merged 1 commit into
masterfrom
fix32962

Conversation

@rbuckton
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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