questions/04803-medium-trim-right/README.zh-CN.md
实现 TrimRight<T> ,它接收确定的字符串类型并返回一个新的字符串,其中新返回的字符串删除了原字符串结尾的空白字符串。
例如
type Trimmed = TrimRight<' Hello World '> // 应推导出 ' Hello World'
<a href="../../README.zh-CN.md" target="_blank"></a> <a href="https://tsch.js.org/4803/answer/zh-CN" target="_blank"></a> <a href="https://tsch.js.org/4803/solutions" target="_blank"></a> <hr><h3>相关挑战</h3><a href="https://github.com/type-challenges/type-challenges/blob/main/questions/00106-medium-trimleft/README.zh-CN.md" target="_blank"></a> <a href="https://github.com/type-challenges/type-challenges/blob/main/questions/00108-medium-trim/README.zh-CN.md" target="_blank"></a> <!--info-footer-end-->