We added the missing () => void type annotation to the callback parameter in injectLegacyDestroyRef's onDestroy method, which caused a TS7006 implicit any error during both the build and type-check tasks. This aligns the compatibility shim's signature with Angular's DestroyRef.onDestroy, resolving the TypeScript compilation failure introduced by the new injectLazyInit.ts file.
This code change can't be applied
Because you're coming from a fork, it is not possible to apply fixes directly to the branch, but you can apply the changes locally using the available options below.
Self-Healing CI
Classification: Code change needed
Fix generated
Verified 2 tasks
Commit"fix(angular): add missing type annotation for callback in injectLazyInit"
1 file changed
+1/ā1