摘要: Implement Replace<S, From, To> which replace the string From with To once in the given string S For example type replaced = Replace<'types are fun!', 阅读全文
posted @ 2022-11-08 14:45 Zhentiw 阅读(27) 评论(0) 推荐(0)
摘要: TypeScript 4.0 is recommended in this challenge Currying is the technique of converting a function that takes multiple arguments into a sequence of fu 阅读全文
posted @ 2022-11-08 02:57 Zhentiw 阅读(35) 评论(0) 推荐(0)
摘要: Implement a simpiled version of a Vue-like typing support. By providing a function name SimpleVue (similar to Vue.extend or defineComponent), it shoul 阅读全文
posted @ 2022-11-08 02:43 Zhentiw 阅读(42) 评论(0) 推荐(0)
摘要: This utility does not return a transformed type. Instead, it serves as a marker for a contextual this type. Note that the noImplicitThis flag must be 阅读全文
posted @ 2022-11-08 02:34 Zhentiw 阅读(69) 评论(0) 推荐(0)