For something like
export type a<T> = T
export type b<T> = T
export type c = any
When formatting the line below:
export type myType = a<b<c> >
It gets formatted to this:
export type myType = a<b<c>>
Then whenever I try to format the file again I get an error:
[error] error: could not format from stdin: failed to format from stdin: error parsing:
- unexpected token
>> (4:27 to 4:29), expected '>' to close generic type parameter list
- unexpected token
>> (4:27 to 4:29), unexpected token, this needs to be a statement