Skip to content

Commit dc01194

Browse files
committed
fix ESLint.
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
1 parent 58f538f commit dc01194

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Form/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type {ComponentType, FocusEvent, Key, MutableRefObject, ReactNode, Ref} from 'react';
1+
import type {ComponentType, FocusEvent, Key, ReactNode, Ref, RefObject} from 'react';
22
import type {GestureResponderEvent, NativeSyntheticEvent, StyleProp, TextInputFocusEventData, TextInputSubmitEditingEventData, ViewStyle} from 'react-native';
33
import type {ValueOf} from 'type-fest';
44
import type AddPlaidBankAccount from '@components/AddPlaidBankAccount';
@@ -185,7 +185,7 @@ type FormRef<TFormID extends OnyxFormKey = OnyxFormKey> = {
185185
submit: () => void;
186186
};
187187

188-
type InputRefs = Record<string, MutableRefObject<InputComponentBaseProps>>;
188+
type InputRefs = Record<string, RefObject<InputComponentBaseProps>>;
189189

190190
type FormInputErrors<TFormID extends OnyxFormKey = OnyxFormKey> = Partial<Record<FormOnyxKeys<TFormID>, string | undefined>>;
191191

0 commit comments

Comments
 (0)