8000 Docs: Write blog post on the history of ban-types, {}, and object/Object · Issue #9103 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content
Docs: Write blog post on the history of ban-types, {}, and object/Object  #9103
Open
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

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

Suggested Changes

One of the particularly exciting changes in our upcoming v8 version is us finally fixing up messaging around the {} (empty object type). It's long been a contentious part of the ban-types rule:

  • On the one hand, {} is a confusing type that a lot of TS devs get tripped up over
  • On the other hand, there are legitimate use cases for it, and banning it outright is too string

We think we've reached a good compromise for v8 with the combination of:

This has been a long journey with lots of discussion (#8700 is just one of many!). It seems ripe for a blog post to me!

💖

Affected URL(s)

https://typescript-eslint.io/blog/*

Note that if this is accepted, I think a member of our team should write the post. It's not something an external contributor could easily do. Blog posts are tricky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation ("docs") that needs adding/updatingteam assignedA member of the typescript-eslint team should work on this.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      290A
      0