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:
@ -24,7 +24,7 @@ export class PickerInternal implements ComponentInterface {
|
||||
private highlightEl?: HTMLElement;
|
||||
private actionOnClick?: () => void;
|
||||
private destroyKeypressListener?: () => void;
|
||||
private singleColumnSearchTimeout?: any;
|
||||
private singleColumnSearchTimeout?: ReturnType<typeof setTimeout>;
|
||||
|
||||
@Element() el!: HTMLIonPickerInternalElement;
|
||||
|
||||
@ -76,6 +76,7 @@ export class PickerInternal implements ComponentInterface {
|
||||
* that focused means we are still in input mode.
|
||||
*/
|
||||
private onFocusOut = (ev: any) => {
|
||||
// TODO(FW-2832): type
|
||||
const { relatedTarget } = ev;
|
||||
|
||||
if (!relatedTarget || (relatedTarget.tagName !== 'ION-PICKER-COLUMN-INTERNAL' && relatedTarget !== this.inputEl)) {
|
||||
@ -89,6 +90,7 @@ export class PickerInternal implements ComponentInterface {
|
||||
* whether to enter/exit input mode.
|
||||
*/
|
||||
private onFocusIn = (ev: any) => {
|
||||
// TODO(FW-2832): type
|
||||
const { target } = ev;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user