refactor: rewrite private export using the ɵ prefix
This commit is contained in:
@ -5,11 +5,9 @@
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
import {AnimationPlayer} from '@angular/core';
|
||||
|
||||
import {AnimationPlayer, ɵNoOpAnimationPlayer} from '@angular/core';
|
||||
import {StyleData} from '../src/common/style_data';
|
||||
import {AnimationDriver} from '../src/engine/animation_driver';
|
||||
import {NoOpAnimationPlayer} from '../src/private_import_core';
|
||||
|
||||
export class MockAnimationDriver implements AnimationDriver {
|
||||
static log: AnimationPlayer[] = [];
|
||||
@ -24,7 +22,7 @@ export class MockAnimationDriver implements AnimationDriver {
|
||||
}
|
||||
}
|
||||
|
||||
export class MockAnimationPlayer extends NoOpAnimationPlayer {
|
||||
export class MockAnimationPlayer extends ɵNoOpAnimationPlayer {
|
||||
constructor(
|
||||
public element: any, public keyframes: StyleData[], public duration: number,
|
||||
public delay: number, public easing: string, public previousPlayers: AnimationPlayer[]) {
|
||||
|
Reference in New Issue
Block a user