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

Improve TypeScript support by catching type assertions #154

Open
wjhsf opened this issue May 28, 2024 · 0 comments
Open

Improve TypeScript support by catching type assertions #154

wjhsf opened this issue May 28, 2024 · 0 comments

Comments

@wjhsf
Copy link
Contributor

wjhsf commented May 28, 2024

Some rules break when we use type assertions (e.g. document.querySelector('td') is invalid, but (document as any).querySelector('td') is considered valid. In order to avoid false negatives, we should update the rules to account for type assertions.

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

1 participant