Skip to content

Commit 61a065f

Browse files
ByPortrandrianov
authored andcommitted
style: satisfy tslint:recommended
1 parent d4682b7 commit 61a065f

File tree

53 files changed

+148
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+148
-131
lines changed

src/app/app-routing.module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { RouterModule } from '@angular/router';
21
import { NgModule } from '@angular/core';
2+
import { RouterModule } from '@angular/router';
33

4+
import { LayoutsModule } from './layouts';
45
import { CommonLayoutComponent } from './layouts/common-layout';
5-
import { DashboardComponent } from './pages/dashboard';
6-
import { MapsComponent } from './pages/maps';
76
import { ChartsComponent } from './pages/charts';
7+
import { DashboardComponent } from './pages/dashboard';
88
import { FormsComponent } from './pages/forms';
9-
import { LayoutsModule } from './layouts';
9+
import { MapsComponent } from './pages/maps';
1010

1111
@NgModule({
1212
imports: [

src/app/app.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { BrowserModule } from '@angular/platform-browser';
21
import { NgModule } from '@angular/core';
2+
import { BrowserModule } from '@angular/platform-browser';
33

44
import { AppRoutingModule } from './app-routing.module';
55
import { AppComponent } from './app.component';
6-
import { MapsModule } from './pages/maps';
7-
import { DashboardModule } from './pages/dashboard';
86
import { ChartsModule } from './pages/charts';
7+
import { DashboardModule } from './pages/dashboard';
98
import { FormsModule } from './pages/forms';
9+
import { MapsModule } from './pages/maps';
1010

1111
@NgModule({
1212
declarations: [AppComponent],

src/app/components/message-menu/message-menu.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { MessageMenuService } from './message-menu.service';
1111
export class MessageMenuComponent {
1212
@HostBinding('class.message-menu') private readonly messageMenu = true;
1313

14-
private messages: Object[];
14+
private messages: object[];
1515

1616
constructor(messageMenuService: MessageMenuService) {
1717
this.messages = messageMenuService.getMessages();

src/app/components/message-menu/message-menu.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
22

33
@Injectable()
44
export class MessageMenuService {
5-
public getMessages(): Object[] {
5+
public getMessages(): object[] {
66
return [
77
{
88
name: 'Alice',

src/app/components/notification-menu/notification-menu.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { NotificationMenuService } from './notification-menu.service';
1111
export class NotificationMenuComponent {
1212
@HostBinding('class.notification-menu') private readonly notificationMenu = true;
1313

14-
private notifications: Object[];
14+
private notifications: object[];
1515

1616
constructor(notificationMenuService: NotificationMenuService) {
1717
this.notifications = notificationMenuService.getNotifications();

src/app/components/notification-menu/notification-menu.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
22

33
@Injectable()
44
export class NotificationMenuService {
5-
public getNotifications(): Object[] {
5+
public getNotifications(): object[] {
66
return [
77
{
88
text: 'You have 3 new orders.',

src/app/layouts/layouts.module.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { NgModule } from '@angular/core';
21
import { CommonModule } from '@angular/common';
2+
import { NgModule } from '@angular/core';
33
import { RouterModule } from '@angular/router';
44

5-
import { CommonLayoutComponent } from './common-layout';
6-
import { BlankLayoutComponent } from './blank-layout';
7-
import { ThemeModule } from 'theme';
8-
import { SidebarComponent } from 'app/components/sidebar';
95
import { MessageMenuComponent } from 'app/components/message-menu';
106
import { NotificationMenuComponent } from 'app/components/notification-menu';
7+
import { SidebarComponent } from 'app/components/sidebar';
8+
import { ThemeModule } from 'theme';
9+
import { BlankLayoutComponent } from './blank-layout';
10+
import { CommonLayoutComponent } from './common-layout';
1111

1212
@NgModule({
1313
imports: [

src/app/pages/charts/browser-statistics-chart/browser-statistics-chart.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as d3 from 'd3';
22
import * as nv from 'nvd3';
33

4-
import { Component, OnInit, ElementRef, HostBinding } from '@angular/core';
4+
import { Component, ElementRef, HostBinding, OnInit } from '@angular/core';
55

66
import { PieChartComponent as BasePieChartComponent } from 'theme/components/pie-chart';
77

src/app/pages/charts/charts.module.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
import { NgModule } from '@angular/core';
21
import { CommonModule } from '@angular/common';
2+
import { NgModule } from '@angular/core';
33
import { FormsModule } from '@angular/forms';
44

55
import { ThemeModule } from 'theme';
66

7-
import { ChartsComponent } from './charts.component';
8-
import { LineChart1Component } from './line-chart-1';
9-
import { LineChart2Component } from './line-chart-2';
107
import { BrowserStatisticsChartComponent } from './browser-statistics-chart';
8+
import { ChartsComponent } from './charts.component';
119
import { CountryStatisticsChartComponent } from './country-statistics-chart';
1210
import { DiscreteBarChartComponent } from './discrete-bar-chart';
13-
import { StackedBarChartComponent } from './stacked-bar-chart';
11+
import { LineChart1Component } from './line-chart-1';
12+
import { LineChart2Component } from './line-chart-2';
1413
import { LinePlusBarChartComponent } from './line-plus-bar-chart';
14+
import { StackedBarChartComponent } from './stacked-bar-chart';
1515

1616
@NgModule({
1717
imports: [

src/app/pages/charts/country-statistics-chart/country-statistics-chart.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as d3 from 'd3';
22
import * as nv from 'nvd3';
33

4-
import { Component, OnInit, ElementRef } from '@angular/core';
4+
import { Component, ElementRef, OnInit } from '@angular/core';
55

66
import { PieChartComponent as BasePieChartComponent } from 'theme/components/pie-chart';
77

0 commit comments

Comments
 (0)