Sorry, yes. The TypeScript way is to set a type (or any ) for your props like so: type DataProps = { siteTitle: string }
確定! 回上一頁