Skip to content

Conversation

ghost
Copy link

@ghost ghost commented May 4, 2018

Noticed while reviewing #22167 -- this appears to just be a boolean check.

@ghost ghost requested a review from sheetalkamat May 4, 2018 15:58
@RyanCavanaugh
Copy link
Member

What happened to calling isSourceFileJavaScript? This could have impact on API consumers since that flag ultimately originates from createSourceFile's scriptKind

@ghost
Copy link
Author

ghost commented May 4, 2018

If so, it sounds like we should be relying on sourceFile.scriptKind all the time instead of fileExtensionIs if those many not be equivalent?

@typescript-bot
Copy link
Collaborator

Thanks for your contribution. This PR has not been updated in a while and cannot be automatically merged at the time being. For housekeeping purposes we are closing stale PRs. If you'd still like to continue working on this PR, please leave a message and one of the maintainers can reopen it.

@RyanCavanaugh RyanCavanaugh deleted the getOutputExtension branch June 16, 2022 22:08
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.

2 participants