-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property 'change' in type 'Toggle' is not assignable to the same property in base type 'Checkbox'. #1343
Comments
some more details
|
@cal-smith this is the issue that we're experiencing. Do you think downgrading to an older version might help? I feel like I saw something about that fixing an issue with Angular 10? Thanks again for all of your help! |
@cal-smith @WilliamMilne It looks like this was more of a TypeScript error. Our previous tsconfig.json was
We needed to add the following line to
I worked off this response in a TypeScript issue thread. |
Ah interesting 🤔 I think the issue we're having may come from how we're doing inheritance in this case, and the base types not being generic enough. I think the full solution here would be to fully decouple Checkbox and Toggle so we don't end up with these weird types We might be able to introduce a generic base class that keeps the shared sections, though I'm not sure how much of there there is. |
🎉 This issue has been resolved in version 4.34.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
great ! |
Typescript error
angular 10
typescript : 3.9.5
carbon: 10.13.0
Detailed description
The text was updated successfully, but these errors were encountered: