摘要:
Implement the generic ClassPublicKeys<T> which returns all public keys of a class. For example: class A { public str: string protected num: number pri 阅读全文
摘要:
The well known split() method splits a string into an array of substrings by looking for a separator, and returns the new array. The goal of this chal 阅读全文
摘要:
Drop the specified chars from a string. For example: type Butterfly = DropString<'foobar!', 'fb'> // 'ooar!' /* _____________ Your Code Here _________ 阅读全文
摘要:
Create a type-level function whose types is similar to Pinia library. You don't need to implement function actually, just adding types. Overview This 阅读全文
摘要:
Implement a type DeepPick, that extends Utility types Pick. A type takes two arguments. For example: type obj = { name: 'hoge', age: 20, friend: { nam 阅读全文