Print trailing comma after a single TS generic in arrow fns (#14113)

This commit is contained in:
Ozan H
2022-01-10 17:37:05 +03:00
committed by GitHub
parent a6d77d07b4
commit 1c32b670ce
9 changed files with 17 additions and 6 deletions

View File

@@ -4,6 +4,6 @@ function a() {
}
function d() {
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : <T>() => {};
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : <T,>() => {};
let T;
}