JavaScript: Property 'XYZ' does not exist on type 'Readonly<{children?: ReactNode;}>'

interface IRecipeProps { ingredients?: string[]; title?: string; img?: string; instructions?: string; }

interface IRecipeState {}

class Recipe extends Component<IRecipeProps, IRecipeState> {}

Solution

评论

暂无评论。

登录后可发表评论。