Skip to content

Conversation

mhegazy
Copy link
Contributor

@mhegazy mhegazy commented Nov 14, 2016

//CC @vladima

if (resolvedFileName && !compilerOptions.allowJs && fileExtensionIs(resolvedFileName, ".js")) {
return {
resolvedFileName: undefined,
failedLookupLocations: undefined
Copy link
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