Skip to content

Commit 135c8b6

Browse files
committed
let stuckRight: any = this.upperScrollableContainer.getBoundingClientRect().right; chaned 'any' to 'number'
1 parent 94669e9 commit 135c8b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/sticky-header/sticky-header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
216216
// 'translate3d(0,0,0)' needs to be used to force Safari re-rendering the sticky element.
217217
this.element.style.transform = 'translate3d(0px,0px,0px)';
218218

219-
let stuckRight: any = this.upperScrollableContainer.getBoundingClientRect().right;
219+
let stuckRight: number = this.upperScrollableContainer.getBoundingClientRect().right;
220220

221221
let stickyCss = {
222222
position: 'fixed',

0 commit comments

Comments
 (0)