43. implement Trim<T>
Share
- accepted / - tried
Please implement Trim<T>
just like String.prototype.trim()
.
type A = Trim<' BFE.dev'> // 'BFE'type B = Trim<' BFE. dev '> // 'BFE. dev'type C = Trim<' BFE . dev '> // 'BFE . dev'
- accepted / - tried
Please implement Trim<T>
just like String.prototype.trim()
.
type A = Trim<' BFE.dev'> // 'BFE'type B = Trim<' BFE. dev '> // 'BFE. dev'type C = Trim<' BFE . dev '> // 'BFE . dev'