Open wjhsf opened 6 months ago
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.
document.querySelector('td')
(document as any).querySelector('td')
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.