This is a more defensive approach to ensure that references to ParamInheritanceType from the published declarations do not cause compilation errors when compiling Angular from the published packages. Fixes #21456 PR Close #21773