Skip to content

Commit 6ef4c8d

Browse files
committed
let stuckRight: any = this.upperScrollableContainer.getBoundingClientRect().right;
chaned 'any' to 'number'
1 parent bf5ba00 commit 6ef4c8d

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
@@ -215,7 +215,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
215215
// 'translate3d(0,0,0)' needs to be used to force Safari re-rendering the sticky element.
216216
this.element.style.transform = 'translate3d(0px,0px,0px)';
217217

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

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

0 commit comments

Comments
 (0)