You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Currently we always use the lowest TypeScript version that a package supports when linting it. This ensures that the expect rule gets correct results. But tslint isn't compatibile with TypeScript 2.0, which causes bugs.
We should instead use typescript@latest for all other lint rules, and have expect specially use a different Program that uses an older TypeScript. (As an optimization, we should not create this if there are not // $ExpectFoo comments in the file.)
The text was updated successfully, but these errors were encountered:
Currently we always use the lowest TypeScript version that a package supports when linting it. This ensures that the
expect
rule gets correct results. But tslint isn't compatibile with TypeScript 2.0, which causes bugs.We should instead use typescript@latest for all other lint rules, and have
expect
specially use a different Program that uses an older TypeScript. (As an optimization, we should not create this if there are not// $ExpectFoo
comments in the file.)The text was updated successfully, but these errors were encountered: