Skip to content

Use unique symbol for well-known symbols #21603

Closed
@falsandtru

Description

@falsandtru

Expected behavior:

interface SymbolConstructor {
    readonly iterator: unique symbol;
}

Actual behavior:

interface SymbolConstructor {
    readonly iterator: symbol;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    RevisitAn issue worth coming back toSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions