The original project ran without any problems, but when I removed yarn.lock and node_module and reinstalled them, most components started with TS errors, with messages like 'Attribute "placeholder" is missing in'
Type "{children: Element; className: string; key: any; Attribute "placeholder" is missing in "}", but type "Pick< MenuItemProps & ButtonHTMLAttributes< HTMLButtonElement> , "title" | "value" | "form" | "slot" | "style" | "children" | ... 262 more ... | "name">" This property is required in. ts(2741)
In the screenshot, you can see that 'MenuItem' and 'Typography' are starting to report the same error in the latest installation
Reading the component type definition, placeholder attributes are not declared required
Is there an error with the latest package content? How do I fix this
The original project ran without any problems, but when I removed yarn.lock and node_module and reinstalled them, most components started with TS errors, with messages like 'Attribute "placeholder" is missing in'
In the screenshot, you can see that 'MenuItem' and 'Typography' are starting to report the same error in the latest installation
Reading the component type definition, placeholder attributes are not declared required
Is there an error with the latest package content? How do I fix this
Environment