首页
话题
动态
专家
文章
作者
公告
更多
积分规则
登录 或 注册
首页
话题
动态
专家
文章
作者
公告
积分规则
发表新帖
发表新帖
How TS generics return record or simple value according to type of param?
前端
未结
关注
0
591
庸人自扰
2020-12-23 20:04
I would like to write a function whit proper type support, and with the following requirements:
When
key
is passed as single string, the return val
相关标签:
回答
消灭零回复
验证码
看不清?
提交回复
热议问题