Keep a trailing comma in tsx type parameter by sosukesuzuki · Pull Request #6115 · prettier/prettier

Previously, a trailing comma after single type parameter in arrow function was cleaned up. The formatted result is valid as ts, but is invalid as tsx. This pr is fix to keep a trailing comma for fo...