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

no-implicit-coercion: allow !! operator for improved control flow analysis #72

Closed
wants to merge 3 commits into from
Closed

Conversation

@sindresorhus
Copy link
Member

It doesn't make sense to change our coding habits just to work around a TypeScript bug/limitation. You should instead open an issue on TypeScript about it. Boolean() should work just like !!.

@Chudesnov Chudesnov closed this Feb 4, 2023
@Chudesnov Chudesnov deleted the patch-1 branch February 4, 2023 14:12
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

Successfully merging this pull request may close these issues.

None yet

2 participants