Skip to content

Commit 6ca5cf3

Browse files
committed
Ignore some typescript lint warnings.
1 parent 69ba1bf commit 6ca5cf3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hoc/component.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ interface RequiredFromOriginalComponentProps {
4545
disabled: boolean;
4646
id: string;
4747
label: React.ReactNode;
48+
/* eslint-disable @typescript-eslint/no-explicit-any */
4849
componentRef: React.RefObject<any>;
50+
/* eslint-enable @typescript-eslint/no-explicit-any */
4951
}
5052

5153
/**
@@ -60,6 +62,7 @@ interface RequiredFromOriginalComponentProps {
6062
* the form, while retaining the ability to override the prop on a per-component
6163
* basis.
6264
*/
65+
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
6366
const withFRC = <TOriginalProps extends {}>(
6467
Component:
6568
| React.ComponentClass<TOriginalProps>

0 commit comments

Comments
 (0)