Skip to content

Render null and undefined last in unions #3024

@stwlam

Description

@stwlam

Search Terms

undefined in:title

Problem

Just a stylistic nit: currently null and undefined are rendered before other type union operands. It'd be nice (and maybe more conventional? Note the hand-written Returns comment) to instead see them last.

Suggested Solution

Show 'em last

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions