How to insert the input type on destructuration function for my request api in Typescript?

后端 未结 0 1796
旧巷少年郎
旧巷少年郎 2021-01-29 01:14

im a begineer with ts and now I\'m trying to insert the type of input in my destructation variables

here my code:

const registration = ({body :{name,surnam         


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