Skip to content

Reference-types directive crashes TSServer #9186

@DanielRosenwasser

Description

@DanielRosenwasser

Create a TypeScript file with the following contents:

/// <reference types="foo" />
var x;

This seems to cause TSServer to crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueHigh Priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions