Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

experimental-utils v3.0 requires TS 3.8 compiler and ES2015 target #2114

Closed
Labels
bugSomething isn't workinghas prthere is a PR raised to close thispackage: utilsIssues related to the @typescript-eslint/utils package
@adidahiya

Description

@adidahiya

I just upgraded to typescript-eslint 3.0 in a TypeScript project which uses@typescript-eslint/experimental-utils and got a slightly surprisingcompile error. The usage of ES private field syntax introduced in#2023 requires downstream TypeScript consumers to target ES2015 / ES6 or newer (TS docs).

../../node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleTester.d.ts:7:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.7     #private;      ~~~~~~~~

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

packageversion
@typescript-eslint/experimental-utils3.0.1
TypeScript3.9.3
node12.16.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas prthere is a PR raised to close thispackage: utilsIssues related to the @typescript-eslint/utils package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp