refactor(animations): do not use short parameter names (#25198)

PR Close #25198
This commit is contained in:
Pete Bacon Darwin 2018-07-30 15:35:03 +01:00 committed by Igor Minar
parent 7075c418f9
commit d5b73832bf
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ export interface AnimationPlayer {
finish(): void; finish(): void;
destroy(): void; destroy(): void;
reset(): void; reset(): void;
setPosition(p: any /** TODO #9100 */): void; setPosition(position: 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(p: number): void {} setPosition(position: number): void {}
getPosition(): number { return 0; } getPosition(): number { return 0; }
/** @internal */ /** @internal */

View File

@ -102,7 +102,7 @@ export interface AnimationPlayer {
play(): void; play(): void;
reset(): void; reset(): void;
restart(): void; restart(): void;
setPosition(p: any /** TODO #9100 */): void; setPosition(position: any /** TODO #9100 */): void;
} }
export interface AnimationQueryMetadata extends AnimationMetadata { export interface AnimationQueryMetadata extends AnimationMetadata {
@ -191,7 +191,7 @@ export declare class NoopAnimationPlayer implements AnimationPlayer {
play(): void; play(): void;
reset(): void; reset(): void;
restart(): void; restart(): void;
setPosition(p: number): void; setPosition(position: number): void;
} }
export declare function query(selector: string, animation: AnimationMetadata | AnimationMetadata[], options?: AnimationQueryOptions | null): AnimationQueryMetadata; export declare function query(selector: string, animation: AnimationMetadata | AnimationMetadata[], options?: AnimationQueryOptions | null): AnimationQueryMetadata;