摘要: 源码 /** * Make all properties in T optional */ type Partial<T> = { [P in keyof T]?: T[P]; }; /** * Make all properties in T readonly */ type Readonly<T 阅读全文
posted @ 2021-02-09 14:57 Michelyuan 阅读(380) 评论(0) 推荐(0) 编辑