Skip to content

Comma Separated Properties #13998

@TheColorRed

Description

@TheColorRed

TypeScript Version: 2.1.6

It would be nice/handy if TypeScript supported comma separated properties where properties could be grouped by a type. Below is some pseudo code.

Code

class TestClass {
    public -> (a = 1, b = 2, c = 3, d = null, e, f, g): number;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Out of ScopeThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions