style(animations): fix short param names (#23668)

PR Close #23668
This commit is contained in:
Pete Bacon Darwin 2018-05-03 10:31:30 +01:00 committed by Igor Minar
parent 005dc8f68b
commit e3518967ad
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ export interface AnimationPlayer {
finish(): void;
destroy(): void;
reset(): void;
setPosition(p: any /** TODO #9100 */): void;
setPosition(position: number): void;
getPosition(): number;
parentPlayer: AnimationPlayer|null;
readonly totalTime: number;
@ -93,7 +93,7 @@ export class NoopAnimationPlayer implements AnimationPlayer {
}
}
reset(): void {}
setPosition(p: number): void {}
setPosition(position: number): void {}
getPosition(): number { return 0; }
/* @internal */

View File

@ -115,7 +115,7 @@ export interface AnimationPlayer {
play(): void;
reset(): void;
restart(): void;
setPosition(p: any): void;
setPosition(position: number): void;
}
/** @experimental */
@ -216,7 +216,7 @@ export declare class NoopAnimationPlayer implements AnimationPlayer {
play(): void;
reset(): void;
restart(): void;
setPosition(p: number): void;
setPosition(position: number): void;
}
/** @experimental */