build: update tslint config (#1436)

This commit is contained in:
Lex Zhukov 2017-12-01 18:36:24 +03:00 committed by GitHub
parent be7649a9a2
commit 630cb85e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 23 deletions

View file

@ -1,4 +1,4 @@
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';
@Component({
selector: 'ngx-block-level-buttons',

View file

@ -14,8 +14,8 @@ export class TypographyComponent implements OnDestroy {
constructor(private themeService: NbThemeService,
private breakpointService: NbMediaBreakpointsService) {
this.breakpoints = breakpointService.getBreakpointsMap();
this.themeSubscription = themeService.onMediaQueryChange()
this.breakpoints = this.breakpointService.getBreakpointsMap();
this.themeSubscription = this.themeService.onMediaQueryChange()
.subscribe(([oldValue, newValue]) => {
this.breakpoint = newValue;
});