From ba000bdeee6eeccdc7a1dc7373c9b190ecab5081 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 28 Jul 2017 18:02:04 +0300 Subject: [PATCH] chore: fix linting errors (#6044) Fixes a couple of linting errors that were introduced in master. --- src/lib/table/cell.ts | 2 +- src/lib/table/row.ts | 2 +- tools/dashboard/src/app/dashboard-app.ts | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/table/cell.ts b/src/lib/table/cell.ts index 3578ab6ccb7c..f2103edb1021 100644 --- a/src/lib/table/cell.ts +++ b/src/lib/table/cell.ts @@ -12,7 +12,7 @@ import { CdkCellDef, CdkColumnDef, CdkHeaderCell, - CdkHeaderCellDef + CdkHeaderCellDef, } from '@angular/cdk/table'; /** Workaround for https://github.com/angular/angular/issues/17849 */ diff --git a/src/lib/table/row.ts b/src/lib/table/row.ts index 913a861a2eb6..e16313248dd5 100644 --- a/src/lib/table/row.ts +++ b/src/lib/table/row.ts @@ -12,7 +12,7 @@ import { CdkRow, CDK_ROW_TEMPLATE, CdkRowDef, - CdkHeaderRowDef + CdkHeaderRowDef, } from '@angular/cdk/table'; /** Workaround for https://github.com/angular/angular/issues/17849 */ diff --git a/tools/dashboard/src/app/dashboard-app.ts b/tools/dashboard/src/app/dashboard-app.ts index 74da7a9d9ae8..bdfac0666513 100644 --- a/tools/dashboard/src/app/dashboard-app.ts +++ b/tools/dashboard/src/app/dashboard-app.ts @@ -1,5 +1,9 @@ import {Component} from '@angular/core'; import {AngularFireDatabase, FirebaseListObservable} from 'angularfire2/database'; + +// This import is only used to define a generic type. The current TypeScript version incorrectly +// considers such imports as unused (https://github.com/Microsoft/TypeScript/issues/14953) +// tslint:disable-next-line:no-unused-variable import {PayloadResult, CoverageResult} from './data-definitions'; @Component({