mohammadsiyou / prettier-plugin-twin.macro

Sort Tailwind and Twin classes based on recommended class order of Tailwind using Prettier.
11 stars 1 forks source link

Some `.ts` files cannot be formatted #3

Closed u3u closed 2 years ago

u3u commented 2 years ago

Error: Unknown TypeScript node type: "TSParenthesizedType".

export interface Test {
  test?: (string | undefined)[]
}

function Foo<T>(initialState: T | (() => T)) {}