Skip to content

RFC: Deprecates @types/prettier and maintains type definitions in prettier/prettier repository #14033

Closed

Description

@sosukesuzuki

Background

Proposal

  1. Moves @types/prettier to https://github.com/prettier/prettier.
  2. Deprecates @types/prettier.

Pros

  • Definitely Typed is a huge repository, so it is slightly hard to fix for us.
  • Easy to synchronize type definitions with Prettier's API implementation.
  • API users do not need to install @types/prettier, need only prettier.
  • Some plugins are implemented in TypeScript, so improving their development experience makes a lot of sense.

Cons

  • Increase the maintenance cost.
  • Increase the npm package size.

References

Activity

  1. added
    type:metaIssues about the status of Prettier, or anything else about Prettier itself
    area:apiIssues with Prettier's Application Programming Interface
    on Dec 18, 2022
  2. carmanchris31 commented on Dec 30, 2022

    @carmanchris31

    Thank you very much for opening this!

  3. fisker commented on Feb 24, 2023

    @fisker
    Member

    Fixed by #14212

  4. locked as resolved and limited conversation to collaborators on Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apiIssues with Prettier's Application Programming Interfacelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.type:metaIssues about the status of Prettier, or anything else about Prettier itself

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions