Fix lint warnings

This commit is contained in:
eugene-sinitsyn 2020-03-06 15:01:01 +03:00 committed by Maksim Karatkevich
parent 28d6ad2103
commit bf4be1a4fe
3 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
import { Component } from '@angular/core'; import { Component, OnInit, OnDestroy } from '@angular/core';
import { NbComponentShape, NbComponentSize, NbComponentStatus, NbThemeService } from '@nebular/theme'; import { NbComponentShape, NbComponentSize, NbComponentStatus, NbThemeService } from '@nebular/theme';
import { Subscription } from 'rxjs'; import { Subscription } from 'rxjs';
@ -7,7 +7,7 @@ import { Subscription } from 'rxjs';
styleUrls: ['./buttons.component.scss'], styleUrls: ['./buttons.component.scss'],
templateUrl: './buttons.component.html', templateUrl: './buttons.component.html',
}) })
export class ButtonsComponent { export class ButtonsComponent implements OnInit, OnDestroy {
public constructor(private readonly themeService: NbThemeService) {} public constructor(private readonly themeService: NbThemeService) {}
private readonly subscription: Subscription = new Subscription(); private readonly subscription: Subscription = new Subscription();

View file

@ -3,6 +3,6 @@ import { Component } from '@angular/core';
@Component({ @Component({
selector: 'ngx-material-buttons', selector: 'ngx-material-buttons',
templateUrl: './material-buttons.component.html', templateUrl: './material-buttons.component.html',
styleUrls: ['./material-buttons.component.scss'] styleUrls: ['./material-buttons.component.scss'],
}) })
export class MaterialButtonsComponent {} export class MaterialButtonsComponent {}

View file

@ -3,6 +3,6 @@ import { Component } from '@angular/core';
@Component({ @Component({
selector: 'ngx-material-inputs', selector: 'ngx-material-inputs',
templateUrl: './material-inputs.component.html', templateUrl: './material-inputs.component.html',
styleUrls: ['./material-inputs.component.scss'] styleUrls: ['./material-inputs.component.scss'],
}) })
export class MaterialInputsComponent {} export class MaterialInputsComponent {}