diff --git a/src/app/components/autocomplete/autocomplete.ts b/src/app/components/autocomplete/autocomplete.ts index c952f97c595..71a4c3b8fe3 100755 --- a/src/app/components/autocomplete/autocomplete.ts +++ b/src/app/components/autocomplete/autocomplete.ts @@ -651,9 +651,9 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr _suggestions: any; - onModelChange: Function = () => { }; + onModelChange: Function = () => {}; - onModelTouched: Function = () => { }; + onModelTouched: Function = () => {}; timeout: Nullable; @@ -1286,4 +1286,4 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr exports: [AutoComplete, OverlayModule, SharedModule, ScrollerModule, AutoFocusModule], declarations: [AutoComplete] }) -export class AutoCompleteModule { } +export class AutoCompleteModule {} diff --git a/src/app/components/menu/menu.ts b/src/app/components/menu/menu.ts index d47dc5d2a34..7c787dc1fc4 100755 --- a/src/app/components/menu/menu.ts +++ b/src/app/components/menu/menu.ts @@ -751,7 +751,7 @@ export class Menu implements OnDestroy { isItemHidden(item: any): boolean { if (item.separator) { - return item.visible === false || (item.items && item.items.some(subitem => subitem.visible !== false)); + return item.visible === false || (item.items && item.items.some((subitem) => subitem.visible !== false)); } return item.visible === false; }