大家好!在接下來的30天裡,我們每天都會面對一個 Type Challenge 的挑戰題目。天降 TypeScript 於你,你準備好迎接了嗎?
我們將從基礎開始,一步步提升,經歷挑戰的起伏,有時會遇到讓人憂鬱的困難,也會體驗到突破難關的成就感。我們將一起庖丁解code,闖過30關,斬下31將!
準備好讓 TypeScript 變得簡單又有趣了嗎?快來迎接這場挑戰,享受過關後的 type平盛事吧!
第21關:Trim Left 關卡簡介 Implement TrimLeft<T> which takes an exact string typ...
第22關:Trim 關卡簡介 Implement Trim<T> which takes an exact string type and ret...
第23關:Capitalize 關卡簡介 Implement Capitalize<T> which converts the first let...
第24關:Replace 關卡簡介 Implement Replace<S, From, To> which replace the string...
第25關:ReplaceAll 關卡簡介 Implement ReplaceAll<S, From, To> which replace the...
第26關:Append Argument 關卡簡介 For given function type Fn, and any type A (any in th...
第27關:Permutation!TypeScript 黑板上排列組合:你捨得解開嗎? 第27關:Permutation 關卡簡介 Implement per...
第28關:Length of String 關卡簡介 Compute the length of a string literal, which behave...
第29關:Flatten 關卡簡介 In this challenge, you would need to write a type that takes...
Well, here we are! Not only is today the final day of the challenge, but (drumr...