Link to home
Start Free TrialLog in
Avatar of chalie001

asked on

error in angular

hi am having this error
User generated image
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There is nothing wrong with the code I can see.

It might be that your tsconfig settings are not right. Can you post your tsconfig file.

Also take a look at this thread and see if that discusses your problem

The above article suggests udpating tslib to > 1.09

npm install tslib

And this post

Which suggest that the modules resolution is incorrect and should be
"module": "es2015",
"moduleResolution": "node", ...

Open in new window

he needs at least version 10 for spread array syntax checking.