Remove some `any` and use the non-deprecated `Injector.create` overload. PR Close #49598
looseIdentical
Object.is