Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
After upgrading my project to version 21.2.3, the compilation fails with the following error.
After a few minutes of debugging, I concluded it was caused by the K in this generic.

Here are two StackBlitz reproductions with the exact same code:
21.2.2 (working)
https://stackblitz.com/edit/stackblitz-starters-hbe4upra?file=package.json
21.2.3 (broken)
https://stackblitz.com/edit/stackblitz-starters-mtfblaok?file=package.json
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/stackblitz-starters-mtfblaok?file=src%2Fmain.ts
Please provide the exception or error you saw
✘ [ERROR] Unsupported WrappedNodeExpr in TypeTranslatorVisitor: TypeParameter [plugin angular-compiler]
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 21.2.3
Node: 24.14.0
Package Manager: npm 11.9.0
Anything else?
No response
Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
After upgrading my project to version 21.2.3, the compilation fails with the following error.
After a few minutes of debugging, I concluded it was caused by the K in this generic.

Here are two StackBlitz reproductions with the exact same code:
21.2.2 (working)
https://stackblitz.com/edit/stackblitz-starters-hbe4upra?file=package.json
21.2.3 (broken)
https://stackblitz.com/edit/stackblitz-starters-mtfblaok?file=package.json
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/stackblitz-starters-mtfblaok?file=src%2Fmain.ts
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version)Anything else?
No response