Skip to content

Navigation Menu

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

Appearance settings

Docs: Mark typedef as deprecated / feature frozen #11187

Copy link
Copy link
Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg
Issue body actions

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

Suggested Changes

I just posted an answer to a StackOverflow question: Typescript ESlint conflict between no-inferrable-types and typedef. The user is asking, in 2025, about the right way to use @typescript-eslint/typedef.

Looking back on https://typescript-eslint.io/rules/typedef - the page doesn't actually mention the rule is deprecated until after the description & example code block. On smaller monitors and phones it's not even above the fold.

Proposal: how about we mark the rule as deprecated and feature-frozen?

Affected URL(s)

https://typescript-eslint.io/rules/typedef/

Additional Info

I'm not suggesting we remove the rule (yet?). I think a lot of folks have come to rely on it. But I don't see any reason to keep it around long-term, given the inexorable increase in cases where it's harmful.

💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updatingDocumentation ("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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.