We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ba1bf commit 6ca5cf3Copy full SHA for 6ca5cf3
src/hoc/component.tsx
@@ -45,7 +45,9 @@ interface RequiredFromOriginalComponentProps {
45
disabled: boolean;
46
id: string;
47
label: React.ReactNode;
48
+ /* eslint-disable @typescript-eslint/no-explicit-any */
49
componentRef: React.RefObject<any>;
50
+ /* eslint-enable @typescript-eslint/no-explicit-any */
51
}
52
53
/**
@@ -60,6 +62,7 @@ interface RequiredFromOriginalComponentProps {
60
62
* the form, while retaining the ability to override the prop on a per-component
61
63
* basis.
64
*/
65
+// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
66
const withFRC = <TOriginalProps extends {}>(
67
Component:
68
| React.ComponentClass<TOriginalProps>
0 commit comments