摘要: Indexed Access types provide a mechanism for retrieving part(s) of an array or object type via indices. We’ll look at how this kind of type works, and 阅读全文
posted @ 2022-08-16 21:18 Zhentiw 阅读(28) 评论(0) 推荐(0) 编辑
摘要: For example we have a Webpack class: class WebpackCompiler { constructor(options: { amd?: false | { [index: string]: any } bail?: boolean cache?: | bo 阅读全文
posted @ 2022-08-16 21:07 Zhentiw 阅读(14) 评论(0) 推荐(0) 编辑