message: refactor(animations): use full ngDevMode check in animatable prop validation
  in the `validateAnimatableStyleProperty` function use the more complete
  check for the ngDevMode as it seems to be the preferred version
  (see: https://github.com/angular/angular/pull/45212#discussion_r823045428)
  PR Close
diff: @@ -25,7 +25,7 @@ export class WebAnimationsDriver implements AnimationDriver {
  validateAnimatableStyleProperty(prop: string): boolean {
  // Perform actual validation in dev mode only, in prod mode this check is a noop.
  - if (ngDevMode) {
  + if (typeof ngDevMode === 'undefined' || ngDevMode) {
  const cssProp = camelCaseToDashCase(prop);
  return validateWebAnimatableStyleProperty(cssProp);
  }
  