I am developing a sample code to use pagination . For this , i am using Angular Material Table . I have managed to show the data inside the table as well as the controls for pagination , but somehow it is not working as it should be.
Below is the stackblitz repo link :
https://stackblitz.com/edit/angular-ivy-i4lmdx?file=src/Service/app.service.ts
Important : It is showing the following error on my VSCode.
Any solution please ?