refactor(docs-infra): remove unnecessary cast to `any` (#29989)
PR Close #29989
This commit is contained in:
parent
f9bb53a761
commit
e575892774
|
@ -206,7 +206,7 @@ export class DocViewerComponent implements OnDestroy {
|
||||||
// setting each style.
|
// setting each style.
|
||||||
switchMap(() => raf$), tap(() => elem.style[prop] = from),
|
switchMap(() => raf$), tap(() => elem.style[prop] = from),
|
||||||
switchMap(() => raf$), tap(() => elem.style.transition = `all ${duration}ms ease-in-out`),
|
switchMap(() => raf$), tap(() => elem.style.transition = `all ${duration}ms ease-in-out`),
|
||||||
switchMap(() => raf$), tap(() => (elem.style as any)[prop] = to),
|
switchMap(() => raf$), tap(() => elem.style[prop] = to),
|
||||||
switchMap(() => timer(getActualDuration(elem))), switchMap(() => this.void$),
|
switchMap(() => timer(getActualDuration(elem))), switchMap(() => this.void$),
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue