experimental-utils v3.0 requires TS 3.8 compiler and ES2015 target #2114
Labels
bug
Something isn't working
has pr
there is a PR raised to close this
package: utils
Issues related to the @typescript-eslint/utils package
I just upgraded to typescript-eslint 3.0 in a TypeScript project which uses
@typescript-eslint/experimental-utils
and got a slightly surprising compile error. The usage of ES private field syntax introduced in #2023 requires downstream TypeScript consumers to target ES2015 / ES6 or newer (TS docs).This isn't a big problem for me, since I can update my
"target"
compiler option, but I just wanted to note this slight breaking change.Versions
@typescript-eslint/experimental-utils
3.0.1
TypeScript
3.9.3
node
12.16.2
The text was updated successfully, but these errors were encountered: