chore(many): replace any types and add tech debt tickets (#26293)

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
Amanda Johnston
2023-01-06 09:34:55 -06:00
committed by GitHub
parent 27527025e4
commit c2e1ad385d
122 changed files with 229 additions and 65 deletions

View File

@ -21,7 +21,7 @@ import { createColorClasses, hostContext } from '../../utils/theme';
shadow: true,
})
export class Content implements ComponentInterface {
private watchDog: any;
private watchDog: ReturnType<typeof setInterval> | null = null;
private isScrolling = false;
private lastScroll = 0;
private queued = false;
@ -311,7 +311,7 @@ export class Content implements ComponentInterface {
}
private onScrollEnd() {
clearInterval(this.watchDog);
if (this.watchDog) clearInterval(this.watchDog);
this.watchDog = null;
if (this.isScrolling) {
this.isScrolling = false;