refactor(animations): do not use short parameter names (#25198)
PR Close #25198
This commit is contained in:
parent
7075c418f9
commit
d5b73832bf
|
@ -26,7 +26,7 @@ export interface AnimationPlayer {
|
|||
finish(): void;
|
||||
destroy(): void;
|
||||
reset(): void;
|
||||
setPosition(p: any /** TODO #9100 */): void;
|
||||
setPosition(position: any /** TODO #9100 */): 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 */
|
||||
|
|
|
@ -102,7 +102,7 @@ export interface AnimationPlayer {
|
|||
play(): void;
|
||||
reset(): void;
|
||||
restart(): void;
|
||||
setPosition(p: any /** TODO #9100 */): void;
|
||||
setPosition(position: any /** TODO #9100 */): void;
|
||||
}
|
||||
|
||||
export interface AnimationQueryMetadata extends AnimationMetadata {
|
||||
|
@ -191,7 +191,7 @@ export declare class NoopAnimationPlayer implements AnimationPlayer {
|
|||
play(): void;
|
||||
reset(): void;
|
||||
restart(): void;
|
||||
setPosition(p: number): void;
|
||||
setPosition(position: number): void;
|
||||
}
|
||||
|
||||
export declare function query(selector: string, animation: AnimationMetadata | AnimationMetadata[], options?: AnimationQueryOptions | null): AnimationQueryMetadata;
|
||||
|
|
Loading…
Reference in New Issue