Typescript - is it possible to infer literal input parameters of function?

前端 未结 0 700
离开以前
离开以前 2021-01-16 08:32

Consider the code below:

There are fragment functions which take in and returns an object with the key given by the recipe object.

Is there a way

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