zekeyang

Results 4 comments of zekeyang

安装viewerjs后已解决该问题

> ```ts > type TupleToNestedObject = T extends [infer F extends PropertyKey,...infer R]? > { > [K in F] : TupleToNestedObject > } > :U > ``` 能解释下这个PropertyKey在这里的作用吗

> How {[key: string]: never} work?a little confused~ ```ts type t3 = { name: 'test' } extends {} ? true : false // true type t4 = { name: 'test'...