In today's short article, I will go over how to define your useState hook with TypeScript. The solution. interface PersonProps { name: string; age: number; ...
確定! 回上一頁