message: refactor(core): correct typing when getting the Nearest LContainer
  Updating the casted typings of `getNearestLContainer` to ensure that typescript properly
  returns the LContainer | null type.
  PR Close
diff: @@ -74,5 +74,5 @@ function getNearestLContainer(viewOrContainer: LContainer|LView|null) {
  while (viewOrContainer !== null && !isLContainer(viewOrContainer)) {
  viewOrContainer = viewOrContainer[NEXT];
  }
  - return viewOrContainer;
  + return viewOrContainer as LContainer | null;
  }
  