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: Explain differences between Record and index keys somewhere #10876

Open
Labels
accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

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

Suggested Changes

We have >=2 rules that interact with theinterface vs.type hullabaloo:

#10227 ->#10731 cleaned up the latter, but didn't touch the former. Coming over from#10731 (comment): we'd like to mention why one would or wouldn't care about the difference betweenRecord<..., ...> vs.{ [i: ...]: ... }.https://typescript-eslint.io/rules/consistent-indexed-object-style never explicitly says what those differences are. Proposal: let's add that in?

Affected URL(s)

https://typescript-eslint.io/rules/consistent-indexed-object-style

Additional Info

💖

Co-authored-by:@kirkwaiblinger

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("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