runem / web-component-analyzer

CLI that analyzes web components and emits documentation
https://runem.github.io/web-component-analyzer
MIT License
500 stars 61 forks source link

Use `isTypeAssertionExpression` instead of the deprecated `isTypeAssertion`. #253

Closed bicknellr closed 1 year ago

bicknellr commented 1 year ago

Upstreams http://cl/495662713.

isTypeAssertionExpression was added in microsoft/TypeScript#35282 and deprecates isTypeAssertion. This package supports back to at least typescript@3.5.3, so I've made this fall back to isTypeAssertion anyway.

peschee commented 1 year ago

@bicknellr This link http://cl/495662713 does not seem to work. Is that a (google?) internal link?

justinfagnani commented 1 year ago

@peschee yes, that's a Google-internal code review tool.

rictic commented 1 year ago

This change has been superceded