From 3c1120cd22c9ba8e28d40fb667a2e80b418721ea Mon Sep 17 00:00:00 2001 From: crisbeto Date: Wed, 26 Jul 2017 11:10:08 +0300 Subject: [PATCH] chore: fix linting errors 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({