Skip to content

new?: property breaks highlighting #605

@mjbvz

Description

@mjbvz

From microsoft/vscode#48361

TS and JS Grammar Extension version: 0.0.40 / latest

Code

For the code:

interface Foo {
    new: number;
}

interface Foo2 {
    new?: number;
}

The optional new property is not properly syntax highlighted:

screen shot 2018-04-23 at 9 40 16 am

Metadata

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