chore: fix lint warnings (#9869)

Fixes a few lint warnings that got into master.
This commit is contained in:
Kristiyan Kostadinov
2018-02-09 21:59:36 +01:00
committed by mmalerba
parent 591d1f28bb
commit 1b90318c18
3 changed files with 3 additions and 10 deletions
@@ -73,7 +73,7 @@ describe('LiveAnnouncer', () => {
it('should return a promise that resolves after the text has been announced', fakeAsync(() => {
const spy = jasmine.createSpy('announce spy');
const promise = announcer.announce('something').then(spy);
announcer.announce('something').then(spy);
expect(spy).not.toHaveBeenCalled();
tick(100);
+1 -8
View File
@@ -24,14 +24,7 @@ import {
forwardRef,
ViewChild,
} from '@angular/core';
import {
trigger,
state,
style,
animate,
transition,
AnimationEvent,
} from '@angular/animations';
import {AnimationEvent} from '@angular/animations';
import {TemplatePortal, CdkPortalOutlet, PortalHostDirective} from '@angular/cdk/portal';
import {Directionality, Direction} from '@angular/cdk/bidi';
import {Subscription} from 'rxjs/Subscription';
+1 -1
View File
@@ -51,7 +51,7 @@ export class MatTab extends _MatTabMixinBase implements OnInit, CanDisable, OnCh
*/
@ContentChild(MatTabContent, {read: TemplateRef}) _explicitContent: TemplateRef<any>;
/** Template inside the MatTab view that contains an <ng-content>. */
/** Template inside the MatTab view that contains an `<ng-content>`. */
@ViewChild(TemplateRef) _implicitContent: TemplateRef<any>;
/** The plain text label for the tab, used when there is no template label. */