Skip to content

Commit 97447f9

Browse files
crisbetommalerba
authored andcommitted
chore: lint error (#8086)
Fixes a linting error in the docs
1 parent b3a493c commit 97447f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material-examples/table-http/table-http-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Component, OnInit, ViewChild} from '@angular/core';
1+
import {Component, AfterViewInit, ViewChild} from '@angular/core';
22
import {HttpClient} from '@angular/common/http';
33
import {MatPaginator, MatSort, MatTableDataSource} from '@angular/material';
44
import {Observable} from 'rxjs/Observable';
@@ -17,7 +17,7 @@ import 'rxjs/add/operator/switchMap';
1717
styleUrls: ['table-http-example.css'],
1818
templateUrl: 'table-http-example.html',
1919
})
20-
export class TableHttpExample {
20+
export class TableHttpExample implements AfterViewInit {
2121
displayedColumns = ['created', 'state', 'number', 'title'];
2222
exampleDatabase: ExampleHttpDao | null;
2323
dataSource = new MatTableDataSource();

0 commit comments

Comments
 (0)