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
CdkDialogContainer: can no longer simply be extended #26071
Comments
FWIW the CDK dialog container constructor hasn't changed since it was introduced. I suspect that the error here started being reported because the Angular compiler settings changed. |
Care to elaborate? I have changed nothing other than running ng update. In any case, it seems to be a typing problem, not sure how that would give rise to this issue? |
I suspect that the |
I asked around in the team and it looks like this was a bug in the compiler that will be fixed by angular/angular#48156 in the next release. |
How will I know when this fix is publicly available? And is it a case of ng update? |
You can see which fixes are out in each release in the changelog https://github.com/angular/angular/blob/main/CHANGELOG.md. It should be released next week. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Is this a regression?
The previous version in which this bug was not present was
14.2.5
Description
Extending
CdkDialogContainer
now yields the following error:Reproduction
This is the unmodified code from the 14.2.5 version of the CDK which worked fine:
Expected Behavior
Should compile without errors.
Actual Behavior
Environment
The text was updated successfully, but these errors were encountered: