fix: update core and apply stricter tslint rules

This commit is contained in:
Michel Jonathan Schmitz
2019-07-10 12:38:29 +02:00
parent 03c317430a
commit 911492d064
67 changed files with 1291 additions and 507 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -18,20 +18,23 @@ import {RouterModule} from '@angular/router';
import {IonicModule} from '@ionic/angular';
import {NavigationComponent} from './navigation/navigation.component';
/**
* TODO
*/
@NgModule({
declarations: [
NavigationComponent,
],
entryComponents: [
NavigationComponent
NavigationComponent,
],
exports: [
NavigationComponent
NavigationComponent,
],
imports: [
IonicModule.forRoot(),
CommonModule,
RouterModule
]
RouterModule,
],
})
export class MenuModule {}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -26,6 +26,9 @@ import {Component} from '@angular/core';
templateUrl: 'navigation.html',
})
export class NavigationComponent {
/**
* TODO
*/
public pages = [
{title: 'Search', url: '/search', icon: 'search'},
{title: 'Settings', url: '/settings', icon: 'settings'},
@@ -35,6 +38,10 @@ export class NavigationComponent {
// Nothing yet.
}
/**
* TODO
*/
// tslint:disable-next-line:prefer-function-over-method
ionViewDidLoad() {
// console.log('ionViewDidLoad MenuPage');
}