ERROR in node_modules/@angular/material/table/cell.d.ts -Typescript version problem angular

后端 未结 2 964
暗喜
暗喜 2021-01-24 15:46

Im using angular in my project so I faced this issue I tried to downgrade my typscript to 3.9.7 but still not working here is my package.json dpendencies.

2条回答
  •  被撕碎了的回忆
    2021-01-24 16:40

    For me a reinstall with the latest versions helped:

    npm remove @angular/material @angular/cdk
    npm i @angular/material@latest @angular/cdk@latest
    

    Replace npm with yarn in case you have yarn.

提交回复
热议问题