Skip to content

Type Falsey doesn't include 0n and HTMLAllCollection. #186

Description

@BetaZhang

Description

Type Falsey doesn't include 0n and HTMLAllCollection.

Expected behavior

Type Falsey should include 0n and HTMLAllCollection.

Suggested solution(s)

type Falsey = "" | 0 | 0n | false | undefined | null | HTMLAllCollection;

Project Dependencies

  • Utility-Types Version: ^3.10.0
  • TypeScript Version: ^5.1.6
  • tsconfig.json:
    {
    "compilerOptions": {
    "target": "es2022"
    }
    }

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