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

Enhancement: Remove 2 year old backwards compatibility check from getParserServices #5508

Closed
Assignees
bradzacher
Labels
breaking changeThis change will require a new major version to be releasedenhancementNew feature or requestpackage: utilsIssues related to the @typescript-eslint/utils package
Milestone
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Proposal Please Confirm You Have Done The Following...

Relevant Package

utils

My proposal is suitable for this project

  • I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).

Description

ThegetParserServices function contains this comment:

// backwards compatibility check// old versions of the parser would not return any parserServices unless parserOptions.project was set

Additionally, later on in that file:

consthasFullTypeInformation=context.parserServices.hasFullTypeInformation??/* backwards compatible */true;

Does that mean we can get rid of some of the code in that file?

Fail

n/a

Pass

n/a

Additional Info

No response

Metadata

Metadata

Assignees

Labels

breaking changeThis change will require a new major version to be releasedenhancementNew feature or requestpackage: utilsIssues related to the @typescript-eslint/utils package

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp