import { CommonModule } from '@angular/common'; import { Component } from '@angular/core'; import { RouterLink, RouterLinkActive } from '@angular/router'; import { IonApp, IonSplitPane, IonMenu, IonContent, IonList, IonListHeader, IonNote, IonMenuToggle, IonItem, IonIcon, IonLabel, IonRouterOutlet } from '@ionic/angular/standalone'; import { addIcons } from 'ionicons'; import { mailOutline, mailSharp, paperPlaneOutline, paperPlaneSharp, heartOutline, heartSharp, archiveOutline, archiveSharp, trashOutline, trashSharp, warningOutline, warningSharp, bookmarkOutline, bookmarkSharp } from 'ionicons/icons'; import { HomePage} from "./pages/home/home.component"; @Component({ selector: 'app-root', templateUrl: 'app.component.html', styleUrls: ['app.component.scss'], standalone: true, imports: [HomePage, RouterLink, RouterLinkActive, CommonModule, IonApp, IonSplitPane, IonMenu, IonContent, IonList, IonListHeader, IonNote, IonMenuToggle, IonItem, IonIcon, IonLabel, IonRouterOutlet], }) export class AppComponent { public appPages = [ { title: 'Home', url: '/tusha/home', icon: 'home' }, { title: 'Daily goals', url: '/folder/daily', icon: 'today' }, { title: 'Weekly goals', url: '/folder/weekly', icon: 'calendar' }, { title: 'Quarterly goals', url: '/folder/quaterly', icon: 'book' }, { title: 'Modus', url: '/tusha/modus', icon: 'aperture' }, { title: 'Settings', url: '/folder/settings', icon: 'settings' }, ]; public labels = ['Family', 'Friends', 'Notes', 'Work', 'Travel', 'Reminders']; constructor() { type Test = 'a' | 'b'; // ^? addIcons({ mailOutline, mailSharp, paperPlaneOutline, paperPlaneSharp, heartOutline, heartSharp, archiveOutline, archiveSharp, trashOutline, trashSharp, warningOutline, warningSharp, bookmarkOutline, bookmarkSharp }); } }