错误:node_modules/@angular/material/radio/radio.d.ts:184:9 - 错误 TS2611:'disabled' 被定义为类'CanDisableRipple & HasTabIndex & MatRadioButtonBase' 中的一个属性,但在此处被覆盖'_MatRadioButtonBase' 作为访问器。
184 get disabled(): boolean; ~~~~~~~~~
错误:node_modules/@angular/material/table/cell.d.ts:42:5 - 错误 TS2610:'name' 被定义为类'CdkColumnDef' 中的访问器,但在'MatColumnDef' 中被覆盖为一个实例属性。
42 名称:字符串; ~~~~
** Angular Live Development Server 正在侦听 localhost:4200,在 http://localhost:4200/ 上打开浏览器 **
答案 0 :(得分:0)
尝试通过设置 tsconfig
来编辑您的 "useDefineForClassFields": true
文件。