refactor(docs-infra): remove unnecessary cast to `any` (#29989)

PR Close #29989
This commit is contained in:
George Kalpakas 2019-04-04 19:13:53 +03:00 committed by Ben Lesh
parent f9bb53a761
commit e575892774
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ export class DocViewerComponent implements OnDestroy {
// setting each style.
switchMap(() => raf$), tap(() => elem.style[prop] = from),
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$),
);
};