Skip to content

Typescript type annotations being removed #338

Open
@Spoertm

Description

@Spoertm

What version of prettier-plugin-tailwindcss are you using?

v0.6.9

What version of Tailwind CSS are you using?

v3.4.17

What version of Node.js are you using?

v21.5.0

What package manager are you using?

npm

What operating system are you using?

Windows

Describe your issue

const handleFileUpload = async (e: React.ChangeEvent<HTMLInputElement>) => {
  // ...
};

The type annotations in Typescript are being removed. So the above code snippet is converted to:

const handleFileUpload = async (e: React.ChangeEvent) => {
  // ...
};

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions