Revert "style(animations): fix short param names (#23668)"
This reverts commit e3518967ad
.
This PR accidentaly introduces a breaking change:
https://github.com/angular/angular/pull/23668#discussion_r186265055
This commit is contained in:
parent
44095d95c9
commit
77ff72f93b
|
@ -26,7 +26,7 @@ export interface AnimationPlayer {
|
|||
finish(): void;
|
||||
destroy(): void;
|
||||
reset(): void;
|
||||
setPosition(position: number): void;
|
||||
setPosition(p: any /** TODO #9100 */): void;
|
||||
getPosition(): number;
|
||||
parentPlayer: AnimationPlayer|null;
|
||||
readonly totalTime: number;
|
||||
|
@ -93,7 +93,7 @@ export class NoopAnimationPlayer implements AnimationPlayer {
|
|||
}
|
||||
}
|
||||
reset(): void {}
|
||||
setPosition(position: number): void {}
|
||||
setPosition(p: number): void {}
|
||||
getPosition(): number { return 0; }
|
||||
|
||||
/* @internal */
|
||||
|
|
|
@ -115,7 +115,7 @@ export interface AnimationPlayer {
|
|||
play(): void;
|
||||
reset(): void;
|
||||
restart(): void;
|
||||
setPosition(position: number): void;
|
||||
setPosition(p: any): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
|
@ -216,7 +216,7 @@ export declare class NoopAnimationPlayer implements AnimationPlayer {
|
|||
play(): void;
|
||||
reset(): void;
|
||||
restart(): void;
|
||||
setPosition(position: number): void;
|
||||
setPosition(p: number): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
|
|
Loading…
Reference in New Issue