Skip to content

Property shorthand + existance operator #590

@normalser

Description

@normalser

It would be nice if this could work in LS:

{a?b}

which would be equivalent to:

{b:a?b}

Right now it throws: Parse error on line 1: Unexpected '?'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions