build: update to angular-v9.1.12 (#1215)

Fixes: #1216
This commit is contained in:
Karan Takalkar
2020-08-23 14:21:17 +05:30
committed by GitHub
parent 199a8b6c9c
commit 3e21227056
324 changed files with 9893 additions and 4639 deletions
@@ -1,6 +1,8 @@
/** Angular Imports */
import { Component, OnInit, ViewChild } from '@angular/core';
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
import { MatPaginator } from '@angular/material/paginator';
import { MatSort } from '@angular/material/sort';
import { MatTableDataSource } from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
/**
@@ -38,9 +40,9 @@ export class NotificationsPageComponent implements OnInit {
};
/** Paginator for notifications table. */
@ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
/** Sorter for notifications table. */
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: true }) sort: MatSort;
/**
* Retrieves the notifications data from `resolve`.
@@ -6,7 +6,7 @@ describe('NotificationsService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: NotificationsService = TestBed.get(NotificationsService);
const service: NotificationsService = TestBed.inject(NotificationsService);
expect(service).toBeTruthy();
});
});