Typescript type declaration of API result

后端 未结 0 1361
后悔当初
后悔当初 2021-02-18 18:41

So i\'ve been trying to parse data from an api with typescript but cant get a grasp on how to declare the result type from the api. the request response can look something like:

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