Typing regular function components is as easy as adding type information to the function arguments. type MyComponentProps = { name: string; age: number; } ...
確定! 回上一頁