Skip to content

Commit ec789b0

Browse files
josephperrottmhevery
authored andcommitted
fix(animations): Remove ɵAnimationDriver from private exports (angular#35690)
ɵAnimationDriver can be safely removed from private exports as AnimationDriver is already a public export. Since its already available, we can safely remove its declaration and migrate its only usage in our repo to rely on the public AnimationDriver symbol. PR Close angular#35690
1 parent 59c0689 commit ec789b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/animations/browser/src/private_export.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export {Animation as ɵAnimation} from './dsl/animation';
99
export {AnimationStyleNormalizer as ɵAnimationStyleNormalizer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer} from './dsl/style_normalization/animation_style_normalizer';
1010
export {WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer} from './dsl/style_normalization/web_animations_style_normalizer';
11-
export {AnimationDriver as ɵAnimationDriver, NoopAnimationDriver as ɵNoopAnimationDriver} from './render/animation_driver';
11+
export {NoopAnimationDriver as ɵNoopAnimationDriver} from './render/animation_driver';
1212
export {AnimationEngine as ɵAnimationEngine} from './render/animation_engine_next';
1313
export {CssKeyframesDriver as ɵCssKeyframesDriver} from './render/css_keyframes/css_keyframes_driver';
1414
export {CssKeyframesPlayer as ɵCssKeyframesPlayer} from './render/css_keyframes/css_keyframes_player';

packages/animations/browser/testing/src/mock_animation_driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88
import {AUTO_STYLE, AnimationPlayer, NoopAnimationPlayer, ɵStyleData} from '@angular/animations';
9-
import {ɵAnimationDriver as AnimationDriver, ɵallowPreviousPlayerStylesMerge as allowPreviousPlayerStylesMerge, ɵcontainsElement as containsElement, ɵinvokeQuery as invokeQuery, ɵmatchesElement as matchesElement, ɵvalidateStyleProperty as validateStyleProperty} from '@angular/animations/browser';
9+
import {AnimationDriver, ɵallowPreviousPlayerStylesMerge as allowPreviousPlayerStylesMerge, ɵcontainsElement as containsElement, ɵinvokeQuery as invokeQuery, ɵmatchesElement as matchesElement, ɵvalidateStyleProperty as validateStyleProperty} from '@angular/animations/browser';
1010

1111

1212
/**

0 commit comments

Comments
 (0)