none complier errors.
official: https://material.angular.io/components/table/overview
line: 16
@ViewChild(MatPaginator, {static: true}) paginator: MatPaginator;
errors:
Argument of type '{ static: boolean; }' is not assignable to parameter of type '{ read?: any; }'.
Object literal may only specify known properties, and 'static' does not exist in type '{ read?: any; }'.
https://stackblitz.com/angular/egkyqnreoxr?file=app%2Ftable-pagination-example.ts
none
Duplicate of https://github.com/angular/material2/issues/15632.
It only works like this:
@ViewChild(MatPaginator) paginator: MatPaginator;
PR 30948 should be the solution for your problem.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._