mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +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:
@ -62,6 +62,7 @@ export const findClosestIonContent = (el: Element) => {
|
||||
* Scrolls to the top of the element. If an `ion-content` is found, it will scroll
|
||||
* using the public API `scrollToTop` with a duration.
|
||||
*/
|
||||
// TODO(FW-2832): type
|
||||
export const scrollToTop = (el: HTMLElement, durationMs: number): Promise<any> => {
|
||||
if (isIonContent(el)) {
|
||||
const content = el as HTMLIonContentElement;
|
||||
|
Reference in New Issue
Block a user