Skip to content

Commit 1b90318

Browse files
crisbetommalerba
authored andcommitted
chore: fix lint warnings (#9869)
Fixes a few lint warnings that got into master.
1 parent 591d1f2 commit 1b90318

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

src/cdk/a11y/live-announcer/live-announcer.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('LiveAnnouncer', () => {
7373

7474
it('should return a promise that resolves after the text has been announced', fakeAsync(() => {
7575
const spy = jasmine.createSpy('announce spy');
76-
const promise = announcer.announce('something').then(spy);
76+
announcer.announce('something').then(spy);
7777

7878
expect(spy).not.toHaveBeenCalled();
7979
tick(100);

src/lib/tabs/tab-body.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,7 @@ import {
2424
forwardRef,
2525
ViewChild,
2626
} from '@angular/core';
27-
import {
28-
trigger,
29-
state,
30-
style,
31-
animate,
32-
transition,
33-
AnimationEvent,
34-
} from '@angular/animations';
27+
import {AnimationEvent} from '@angular/animations';
3528
import {TemplatePortal, CdkPortalOutlet, PortalHostDirective} from '@angular/cdk/portal';
3629
import {Directionality, Direction} from '@angular/cdk/bidi';
3730
import {Subscription} from 'rxjs/Subscription';

src/lib/tabs/tab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class MatTab extends _MatTabMixinBase implements OnInit, CanDisable, OnCh
5151
*/
5252
@ContentChild(MatTabContent, {read: TemplateRef}) _explicitContent: TemplateRef<any>;
5353

54-
/** Template inside the MatTab view that contains an <ng-content>. */
54+
/** Template inside the MatTab view that contains an `<ng-content>`. */
5555
@ViewChild(TemplateRef) _implicitContent: TemplateRef<any>;
5656

5757
/** The plain text label for the tab, used when there is no template label. */

0 commit comments

Comments
 (0)