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

Equal<[any], [0]> outputing true #4

Open
munizart opened this issue Feb 7, 2020 · 1 comment
Open

Equal<[any], [0]> outputing true #4

munizart opened this issue Feb 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@munizart
Copy link

munizart commented Feb 7, 2020

Comparing [any] with [0] with Equal returns true, but false is expected.
TS playground demonstrating

@KSXGitHub KSXGitHub added the bug Something isn't working label Feb 8, 2020
@KSXGitHub
Copy link
Member

I know how to fix this, but I am working on something else, so I will accept pull request.
BTW, Equal<[unknown], [0]> should return false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants