eslint-plugin-lwc icon indicating copy to clipboard operation
eslint-plugin-lwc copied to clipboard

Improve TypeScript support by catching type assertions

Open wjhsf opened this issue 1 year ago • 0 comments
trafficstars

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.

wjhsf avatar May 28 '24 20:05 wjhsf