Type Extension not working on generic. accumulator

前端 未结 0 1423
暗喜
暗喜 2020-12-18 21:03

Say I have the following helper function:

type Entity = Readonly<{ id: string }>
type EntityEntry = readonly [string, T| null]

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题