Open
Description
Description
Class ItemsMixinClass (which is base class of ContextMenu) defines that the property items can be undefined but if you set the property to this value you get an exception ("...can't read properties from undefined...")
Expected outcome
No exception is thrown either by defining ItemsMixinClass.items of type ContextMenuItem[] only or by testing if items is undefined so no exception is thrown.
Minimal reproducible example
<vaadin-context-menu .items=${undefined}></vaadin-context-menu>
Steps to reproduce
Nothing to add
Environment
Vaadin version(s): Hilla 1.2.0
OS: macOS 12.5.1
Browsers
Issue is not browser related