0

I've written a class where I am getting the following warning:

WARNING in ./src/app/nav/shared/nav.ts
[15, 4]: file should end with a newline

Can't figure error out for the life of me. Anyone know the reason? My class file below:

// NavToolItem class
export class NavToolItem {
    view: string;
    name: string;
    icon: string;
    type: string;
    link: string;
    order: number;
}

// Array of Menus
export const NAVTOOLITEMARR: NavToolItem[] = [
 {view: 'Dashboard', name: 'menu', icon: 'fa fa-bars fa-3x', type: 'panel', link: '', order: 0},
 {view: 'Dashboard', name: 'search-employee', icon: 'fa fa-search fa-3x', type: 'panel', link: '', order: 0}
 ];
Ka Tech
  • 8,937
  • 14
  • 53
  • 78

0 Answers0