fix this type if the plugin works
the menu items don't have a children field defined
namespace Strapi {
|
// TODO: fix this type if the plugin works |
| GetAttributesValues<'api::team-member.team-member'>
// export type Menu = GetReturnType<PluginMenusMenu>
export interface MenuItem
extends Omit<GetAttributesValues<'plugin::menus.menu-item'>, 'root_menu' | 'rootMenu'> {
children?: MenuItem[]
}
// TODO: fix this type if the plugin works
// the menu items don't have a children field defined
export interface Menu extends Omit<GetAttributesValues<'plugin::menus.menu'>, 'items'> {
items?: MenuItem[]
}
// declare global {
// namespace Strapi {
da347451608bd6837e61dade4e3dd8c125a7e7de
fix this type if the plugin works
the menu items don't have a children field defined
namespace Strapi {
websites/libs/types/src/lib/types.ts
Line 55 in 041ce25
da347451608bd6837e61dade4e3dd8c125a7e7de