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;
|
finish(): void;
|
||||||
destroy(): void;
|
destroy(): void;
|
||||||
reset(): void;
|
reset(): void;
|
||||||
setPosition(position: number): void;
|
setPosition(p: any /** TODO #9100 */): void;
|
||||||
getPosition(): number;
|
getPosition(): number;
|
||||||
parentPlayer: AnimationPlayer|null;
|
parentPlayer: AnimationPlayer|null;
|
||||||
readonly totalTime: number;
|
readonly totalTime: number;
|
||||||
|
@ -93,7 +93,7 @@ export class NoopAnimationPlayer implements AnimationPlayer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
reset(): void {}
|
reset(): void {}
|
||||||
setPosition(position: number): void {}
|
setPosition(p: number): void {}
|
||||||
getPosition(): number { return 0; }
|
getPosition(): number { return 0; }
|
||||||
|
|
||||||
/* @internal */
|
/* @internal */
|
||||||
|
|
|
@ -115,7 +115,7 @@ export interface AnimationPlayer {
|
||||||
play(): void;
|
play(): void;
|
||||||
reset(): void;
|
reset(): void;
|
||||||
restart(): void;
|
restart(): void;
|
||||||
setPosition(position: number): void;
|
setPosition(p: any): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
|
@ -216,7 +216,7 @@ export declare class NoopAnimationPlayer implements AnimationPlayer {
|
||||||
play(): void;
|
play(): void;
|
||||||
reset(): void;
|
reset(): void;
|
||||||
restart(): void;
|
restart(): void;
|
||||||
setPosition(position: number): void;
|
setPosition(p: number): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
|
|
Loading…
Reference in New Issue