diff --git a/packages/animations/browser/src/render/animation_driver.ts b/packages/animations/browser/src/render/animation_driver.ts index 0dc61bd889959..f33c3c7ef0c4f 100644 --- a/packages/animations/browser/src/render/animation_driver.ts +++ b/packages/animations/browser/src/render/animation_driver.ts @@ -47,7 +47,7 @@ export class NoopAnimationDriver implements AnimationDriver { * @publicApi */ export abstract class AnimationDriver { - static NOOP: AnimationDriver = /* @__PURE__ */ new NoopAnimationDriver(); + static NOOP: AnimationDriver = (/* @__PURE__ */ new NoopAnimationDriver()); abstract validateStyleProperty(prop: string): boolean; diff --git a/packages/animations/browser/src/render/special_cased_styles.ts b/packages/animations/browser/src/render/special_cased_styles.ts index c01076e85f097..00d87b0a7a55a 100644 --- a/packages/animations/browser/src/render/special_cased_styles.ts +++ b/packages/animations/browser/src/render/special_cased_styles.ts @@ -44,7 +44,7 @@ export function packageNonAnimatableStyles( * `destroy()` is called then all styles will be removed. */ export class SpecialCasedStyles { - static initialStylesByElement = /* @__PURE__ */ new WeakMap(); + static initialStylesByElement = (/* @__PURE__ */ new WeakMap()); private _state = SpecialCasedStylesState.Pending; private _initialStyles!: {[key: string]: any};