You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Type '{ label: string; template: (item: any, options: any) => Element; }' is not assignable to type 'MenuItem'.
Object literal may only specify known properties, and 'template' does not exist in type 'MenuItem'.
PrimeReact version:
6.0.1
Language:
Typescript
The text was updated successfully, but these errors were encountered:
Current behavior
There is no
template
property in [MenuItem.d.ts
](https://github.com/primefaces/primereact/blob/master/src/components/menuitem/MenuItem.d.ts)
For example, if I use the Template example from the site, it gives the error (in VSCode, for instance):
PrimeReact version:
6.0.1
Language:
Typescript
The text was updated successfully, but these errors were encountered: