Why readonly can be used only on array and tuple types?

前端 未结 0 535
耶瑟儿~
耶瑟儿~ 2021-01-23 21:50

Why I am not able to return a readonly type for an object like I am able to do for array/tuple references?

async function g         


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