Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BetaZhang opened this issue Sep 5, 2023 · 1 comment
Open

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

BetaZhang opened this issue Sep 5, 2023 · 1 comment

Comments

@BetaZhang
Copy link

BetaZhang commented Sep 5, 2023

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"
    }
    }
@piotrwitek
Copy link
Owner

Hi @BetaZhang, could you please lint to the source/documentation of those changes? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants