共用方式為


IMenuExtension type

type IMenuExtension = IFlatMenuExtension | IGroupedMenuExtension