Skip to content

pathCompletions should use getEmitModuleResolutionKind #23096

@weswigham

Description

@weswigham

Inside pathCompletions, we check compilerOptions.moduleResolution - we should instead be using getEmitModuleResolutionKind(compilerOptions) to check instead so that defaults based on module target are upheld. (In effect, this means we're not offering node_modules completion in places where we should right now)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions