Complex Types in Typescript, React

后端 未结 0 1541
抹茶落季
抹茶落季 2021-01-14 07:10

I am wondering if there is a way to create types that are verified by a function in Typescript/React.

Instead of a \'string\' type for example, I would like it to be

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