Skip to content

Commit 0a1a397

Browse files
alxhubmhevery
authored andcommitted
fix(platform-browser): add @Injectable where it was missing (#22005)
PR Close #22005
1 parent 7f9b1b7 commit 0a1a397

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/animations/browser/BUILD.bazel

+1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ ts_library(
1313
module_name = "@angular/animations/browser",
1414
deps = [
1515
"//packages/animations",
16+
"//packages/core",
1617
],
1718
)

packages/animations/browser/src/render/animation_driver.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88
import {AnimationPlayer, NoopAnimationPlayer} from '@angular/animations';
9+
import {Injectable} from '@angular/core';
910

1011
import {containsElement, invokeQuery, matchesElement, validateStyleProperty} from './shared';
1112

1213
/**
1314
* @experimental
1415
*/
16+
@Injectable()
1517
export class NoopAnimationDriver implements AnimationDriver {
1618
validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); }
1719

0 commit comments

Comments
 (0)