摘要:
import { z } from "zod"; export enum SUBTYPE { ABORT = "abort", START = "start", UPLOAD = "upload", LOADING = "loading", } export const TYPE = "print" 阅读全文
posted @ 2022-11-11 20:42
Zhentiw
阅读(44)
评论(0)
推荐(0)
摘要:
Implement CapitalizeWords<T> which converts the first letter of each word of a string to uppercase and leaves the rest as-is. For example type capital 阅读全文
posted @ 2022-11-11 15:51
Zhentiw
阅读(34)
评论(0)
推荐(0)
摘要:
Implement the advanced util type OptionalKeys<T>, which picks all the optional keys into a union. /* _____________ Your Code Here _____________ */ typ 阅读全文
posted @ 2022-11-11 00:11
Zhentiw
阅读(35)
评论(0)
推荐(0)
摘要:
Implement the advanced util type RequiredKeys<T>, which picks all the required keys into a union. For example type Result = RequiredKeys<{ foo: number 阅读全文
posted @ 2022-11-11 00:07
Zhentiw
阅读(45)
评论(0)
推荐(0)

浙公网安备 33010602011771号