@@ -27,7 +27,7 @@ import { takeUntil } from 'rxjs/operators';
2727import { BooleanInput } from 'ng-zorro-antd/core/types' ;
2828import { InputBoolean } from 'ng-zorro-antd/core/util' ;
2929
30- import { NzMenuItemDirective } from './menu-item.directive ' ;
30+ import { NzMenuItemComponent } from './menu-item.component ' ;
3131import { MenuService } from './menu.service' ;
3232import { NzIsMenuInsideDropDownToken , NzMenuServiceLocalToken } from './menu.token' ;
3333import { NzMenuModeType , NzMenuThemeType } from './menu.types' ;
@@ -88,15 +88,15 @@ export class NzMenuDirective implements AfterContentInit, OnInit, OnChanges, OnD
8888 static ngAcceptInputType_nzInlineCollapsed : BooleanInput ;
8989 static ngAcceptInputType_nzSelectable : BooleanInput ;
9090
91- @ContentChildren ( NzMenuItemDirective , { descendants : true } )
92- listOfNzMenuItemDirective ! : QueryList < NzMenuItemDirective > ;
91+ @ContentChildren ( NzMenuItemComponent , { descendants : true } )
92+ listOfNzMenuItemDirective ! : QueryList < NzMenuItemComponent > ;
9393 @ContentChildren ( NzSubMenuComponent , { descendants : true } ) listOfNzSubMenuComponent ! : QueryList < NzSubMenuComponent > ;
9494 @Input ( ) nzInlineIndent = 24 ;
9595 @Input ( ) nzTheme : NzMenuThemeType = 'light' ;
9696 @Input ( ) nzMode : NzMenuModeType = 'vertical' ;
9797 @Input ( ) @InputBoolean ( ) nzInlineCollapsed = false ;
9898 @Input ( ) @InputBoolean ( ) nzSelectable = ! this . isMenuInsideDropDown ;
99- @Output ( ) readonly nzClick = new EventEmitter < NzMenuItemDirective > ( ) ;
99+ @Output ( ) readonly nzClick = new EventEmitter < NzMenuItemComponent > ( ) ;
100100 actualMode : NzMenuModeType = 'vertical' ;
101101 dir : Direction = 'ltr' ;
102102 private inlineCollapsed$ = new BehaviorSubject < boolean > ( this . nzInlineCollapsed ) ;
0 commit comments