摘要:
Implement a type DeepPick, that extends Utility types Pick. A type takes two arguments. For example: type obj = { name: 'hoge', age: 20, friend: { nam 阅读全文
posted @ 2022-11-21 15:32
Zhentiw
阅读(54)
评论(0)
推荐(0)
摘要:
const obj = { name: "John", age: 33, cars: [ { make: "Ford", age: 10 }, { make: "Tesla", age: 2 }, ], } as const; export type PathKeys<T> = T extends 阅读全文
posted @ 2022-11-21 00:24
Zhentiw
阅读(31)
评论(0)
推荐(0)

浙公网安备 33010602011771号