'disabled' is defined as a property in class 'CanColor & CanDisableRipple & HasTabIndex & MatChipBase', but is overridden here in 'MatChip' as an acce

Viewed 617

I updated my Angular version from 9.1 to 11 and now its giving compilation error.

Error: node_modules/@angular/material/chips/chips.d.ts:120:9 - error TS2611:'disabled' is defined as a property in class 'CanColor & CanDisableRipple & HasTabIndex & MatChipBase', but is overridden here in 'MatChip' as an accessor.
get disabled(): boolean

I guess it related to typescript version. Since I am on Angular 11, I cannot downgrade typescript below 4. Is there any option to solve this?

Current version Typescript Version -> 4.1.5

Dependencies

Dev Dependencies

0 Answers
Related