) => (props: any) =>
- ;
+ (Children: ComponentType
) =>
+ (props: Omit
) =>
+ ;
export default withMetricsAwareness;
diff --git a/app/components/hooks/useMetrics/withMetricsAwareness.types.ts b/app/components/hooks/useMetrics/withMetricsAwareness.types.ts
deleted file mode 100644
index b12934439ac..00000000000
--- a/app/components/hooks/useMetrics/withMetricsAwareness.types.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { IUseMetricsHook } from './useMetrics.types';
-
-export interface IWithMetricsAwarenessProps {
- metrics: IUseMetricsHook;
-}
diff --git a/app/declarations/index.d.ts b/app/declarations/index.d.ts
index 094baa70c44..5b3568d8335 100644
--- a/app/declarations/index.d.ts
+++ b/app/declarations/index.d.ts
@@ -293,3 +293,5 @@ declare module '@metamask/react-native-actionsheet' {
const ActionSheet;
export default ActionSheet;
}
+
+type $FIXME = any; // eslint-disable-line @typescript-eslint/no-explicit-any