Skip to content

Multiline variable declaration types not properly highlighted #491

Closed
@mjbvz

Description

From microsoft/vscode#31389

TS and JS Grammar Extension version: 0.0.22 / latest

Code

let a: number = w,
b: string = x, // string is not colored
c: any = y, // any is not colored
d: boolean = z; // boolean is not colored

Only the first type declaration is properly syntax colored:

screen shot 2017-07-25 at 9 27 58 pm

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions