mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
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:
@ -37,7 +37,7 @@ export class Refresher implements ComponentInterface {
|
||||
private progress = 0;
|
||||
private scrollEl?: HTMLElement;
|
||||
private backgroundContentEl?: HTMLElement;
|
||||
private scrollListenerCallback?: any;
|
||||
private scrollListenerCallback?: () => void;
|
||||
private gesture?: Gesture;
|
||||
|
||||
private pointerDown = false;
|
||||
|
||||
@ -26,6 +26,7 @@ export const createPullingAnimation = (
|
||||
};
|
||||
|
||||
const createBaseAnimation = (pullingRefresherIcon: HTMLElement) => {
|
||||
// TODO(FW-2832): add types/re-evaluate asserting so many things
|
||||
const spinner = pullingRefresherIcon.querySelector('ion-spinner') as HTMLElement;
|
||||
const circle = spinner!.shadowRoot!.querySelector('circle') as any;
|
||||
const spinnerArrowContainer = pullingRefresherIcon.querySelector('.spinner-arrow-container') as HTMLElement;
|
||||
|
||||
Reference in New Issue
Block a user