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 Mar 25, 2021. It is now read-only.
TSLint cannot be used programmatically in a typescript project with typescript<2.3.0 despite peerDependencies listing typescript >= 2.1.0 i.e. writing a rule for TSLint with typescript@~2.1.0 results in a compilation error:
Generic argument defaults where added in typescript 2.3.
Unfortunately this method is part of the public API which might cause trouble if we remove the default. Removing this default results in a successful build with 2.1.
Bug Report
TSLint cannot be used programmatically in a typescript project with
typescript<2.3.0
despite peerDependencies listingtypescript >= 2.1.0
i.e. writing a rule for TSLint withtypescript@~2.1.0
results in a compilation error:Cause of this is
tslint/src/language/utils.ts
Line 106 in 9b7574b
Generic argument defaults where added in typescript 2.3.
Unfortunately this method is part of the public API which might cause trouble if we remove the default. Removing this default results in a successful build with 2.1.
Repro: eps1lon/tslint-issue-typescript-peer-version
The text was updated successfully, but these errors were encountered: