摘要: Solution 1: consider change font-size to 16px or above Soution 2: using javascript if(navigator.userAgent.indexOf('iPhone') > -1 ) { document .querySe 阅读全文
posted @ 2023-07-17 17:16 Zhentiw 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Merge variadic number of types into a new type. If the keys overlap, its values should be merged into an union. For example: type Foo = { a: 1; b: 2 } 阅读全文
posted @ 2023-07-17 02:37 Zhentiw 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Implement type CheckRepeatedChars<T> which will return whether type T contains duplicated member For example: type CheckRepeatedTuple<[1, 2, 3]> // fa 阅读全文
posted @ 2023-07-17 01:55 Zhentiw 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Remove the key starting with _ from given type T. /* _____________ Your Code Here _____________ */ type PublicType<T extends object> = { [Key in keyof 阅读全文
posted @ 2023-07-17 01:43 Zhentiw 阅读(1) 评论(0) 推荐(0) 编辑