Closed OliverJAsh closed 2 years ago
Given
function identity<T>(t: T): T { return t; }
when we run the fix we get this:
const identity = (t: T) => t;
I expected to get this:
const identity = <T>(t: T) => t;
Thanks @OliverJAsh, I've not been doing a lot of OSS lately but I will get to this.
Released in 3.1.3, I've only added your examples above as test cases so let me know if you run into any problems.
3.1.3
Description
Given
when we run the fix we get this:
I expected to get this:
Suggested Solution
Help Needed