Skip to content

Remove js from vs resolutions#12232

Merged
mhegazy merged 3 commits intomasterfrom
removeJSFromVSResolutions
Nov 14, 2016
Merged

Remove js from vs resolutions#12232
mhegazy merged 3 commits intomasterfrom
removeJSFromVSResolutions

Conversation

@mhegazy
Copy link
Copy Markdown
Contributor

@mhegazy mhegazy commented Nov 14, 2016

//CC @vladima

Comment thread src/services/shims.ts Outdated
if (resolvedFileName && !compilerOptions.allowJs && fileExtensionIs(resolvedFileName, ".js")) {
return {
resolvedFileName: undefined,
failedLookupLocations: undefined
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you return empty array instead? I don't recall if VS side expects this property to always be set.

@mhegazy mhegazy merged commit 6a67f80 into master Nov 14, 2016
@mhegazy mhegazy deleted the removeJSFromVSResolutions branch November 14, 2016 22:13
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
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.

3 participants