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

Docs:method-signature-style lint rule ❤--enforceReadonly compiler flag #9033

Open
Labels
blocked by another PRPRs which are ready to go but waiting on another PRdocumentationDocumentation ("docs") that needs adding/updating
@worstpractice

Description

@worstpractice

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

Just a heads up: anotherHejlsberg PR comment detailing new upcoming footguns with method signatures.

In addition to theirknown issues, going forward, method signatures additionallywill not enforce readonly type relationships with thecoming--enforceReadonly TypeScript compiler flag enabled.

Including this new footgun specific to method signatures in thelint rule docs adds important context regarding the cost/benefit ratio (and reason-to-be) of themethod-signature-style lint rule.

Naturally,if and when the--enforceReadonly flag lands in stable TypeScript would be the time to add this information to themethod-signature-style docs.

Affected URL(s)

https://typescript-eslint.io/rules/method-signature-style/

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by another PRPRs which are ready to go but waiting on another PRdocumentationDocumentation ("docs") that needs adding/updating

    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