Goal: Implement `TrimRight<T>` which takes an exact string type and returns a new string with the whitespace ending removed. For example: Source challenge: https://github.com/type-challenges/type-challenges/tree/main/questions/04803-medium-trim-right Reference explanation: https://github.com/ghaiklor/type-challenges-solutions/blob/main/en/medium-trim-right.md
Run "Check Solution" to validate your code in the browser.