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:
@ -35,6 +35,8 @@ interface IonTabBarState {
|
||||
tabs: { [key: string]: TabUrls };
|
||||
}
|
||||
|
||||
// TODO(FW-2959): types
|
||||
|
||||
class IonTabBarUnwrapped extends React.PureComponent<InternalProps, IonTabBarState> {
|
||||
context!: React.ContextType<typeof NavContext>;
|
||||
|
||||
|
@ -9,7 +9,7 @@ type Props = LocalJSX.IonTabButton &
|
||||
IonicReactProps & {
|
||||
routerOptions?: RouterOptions;
|
||||
ref?: React.Ref<HTMLIonTabButtonElement>;
|
||||
onClick?: (e: any) => void;
|
||||
onClick?: (e: Event) => void;
|
||||
};
|
||||
|
||||
export const IonTabButton = /*@__PURE__*/ (() =>
|
||||
|
@ -15,6 +15,8 @@ class IonTabsElement extends HTMLElementSSR {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(FW-2959): types
|
||||
|
||||
if (typeof (window as any) !== 'undefined' && window.customElements) {
|
||||
const element = window.customElements.get('ion-tabs');
|
||||
if (!element) {
|
||||
|
Reference in New Issue
Block a user