[typescript/convert-generic-to-shorthand]: Fixes an Array of Functions incorrectly.
ElPrudi opened this issue · 2 comments
ElPrudi commented
This rules fixes this array:
const x: Array<(x: number) => x> = []
in correctly to this:
const x: (x: number) => x[] = []
But it should actually fix to this:
const x: ((x: number) => x)[]
coderaiser commented
Thanks! Just fixed 🎉 ! Is it works for you?
ElPrudi commented
It works now. Thank you very much :)