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

Bug: typescript-estree 6.16.0+ requires TypeScript v5.3+ #8172

Closed
Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree
@adidahiya

Description

@adidahiya

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I havesearched for related issues and found none that matched my issue.
  • I haveread the FAQ and my problem is not listed.

Relevant Package

typescript-estree

Playground Link

No response

Repro Code

(sorry this isn't minimal)

I'm compiling my eslint plugin with custom rules which use the@typescript-eslint/utils package.

While trying to upgrade to typescript-eslint 6.16, I encountered a type incompatibility with typescript 5.2.

Seefailing CI job for thedependabot upgrade

ESLint Config

No response

tsconfig

No response

Expected Result

No errors, my ESLint plugin is able to compile with TypeScript 5.2. I did not expect to be required to upgrade to TypeScript 5.3 at this time.

Actual Result

../../node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts:8:121 - error TS2694: Namespace 'ts' has no exported member 'JSDocParsingMode'.8 export declare function createProjectService(options: boolean | ProjectServiceOptions | undefined, jsDocParsingMode: ts.JSDocParsingMode | undefined): ProjectServiceSettings;                                                                                                                          ~~~~~~~~~~~~~~~~Found 1 error in ../../node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts:8

Additional Info

I noticed your note about a type incompatibility caveat in the6.13.0 release notes, but I believe my issue is distinct.

It appears thatts.JSDocParsingMode is not available intsserverlibrary.d.ts in typescript@5.2.2, so that reference fails when I try to compile @blueprintjs/eslint-plugin with @typescript-eslint/utils types.

Versions

packageversion
@typescript-eslint/rule-tester6.16.0
@typescript-eslint/typescript-estree6.16.0
@typescript-eslint/utils6.16.0
TypeScript5.2.2
ESLint8.56.0
node18.18.1

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

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