diff --git a/src/cdk/a11y/live-announcer/live-announcer.spec.ts b/src/cdk/a11y/live-announcer/live-announcer.spec.ts index bfde6c05261..0e3cd2f9765 100644 --- a/src/cdk/a11y/live-announcer/live-announcer.spec.ts +++ b/src/cdk/a11y/live-announcer/live-announcer.spec.ts @@ -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); diff --git a/src/lib/tabs/tab-body.ts b/src/lib/tabs/tab-body.ts index 78aec0428ce..aec8614bfec 100644 --- a/src/lib/tabs/tab-body.ts +++ b/src/lib/tabs/tab-body.ts @@ -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'; diff --git a/src/lib/tabs/tab.ts b/src/lib/tabs/tab.ts index c8d69c27871..49b09f8ef5c 100644 --- a/src/lib/tabs/tab.ts +++ b/src/lib/tabs/tab.ts @@ -51,7 +51,7 @@ export class MatTab extends _MatTabMixinBase implements OnInit, CanDisable, OnCh */ @ContentChild(MatTabContent, {read: TemplateRef}) _explicitContent: TemplateRef; - /** Template inside the MatTab view that contains an . */ + /** Template inside the MatTab view that contains an ``. */ @ViewChild(TemplateRef) _implicitContent: TemplateRef; /** The plain text label for the tab, used when there is no template label. */