Skip to content

Commit 95c7b2e

Browse files
committed
Revert change trigger no-any-union
1 parent 019b670 commit 95c7b2e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

types/cavy/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export {};
1212

1313
type TestHookGeneratorWithRefCallback = (label: string, ref?: React.RefCallback<any>) => React.RefCallback<any>;
1414

15-
type TestHookGeneratorWithRefObject = (label: string, ref?: React.RefObject<any | null>) => React.RefObject<any | null>;
15+
type TestHookGeneratorWithRefObject = (label: string, ref?: React.RefObject<any>) => React.RefObject<any>;
1616

1717
export type TestHookGenerator = TestHookGeneratorWithRefCallback & TestHookGeneratorWithRefObject;
1818

types/react-resizable/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface ResizeCallbackData {
3636
export type ResizableProps = {
3737
children?: React.ReactNode;
3838
className?: string | undefined;
39-
handle?: React.ReactNode | ((resizeHandle: ResizeHandle, ref: React.RefObject<any | null>) => React.ReactNode) | undefined;
39+
handle?: React.ReactNode | ((resizeHandle: ResizeHandle, ref: React.RefObject<any>) => React.ReactNode) | undefined;
4040
handleSize?: [number, number] | undefined;
4141
lockAspectRatio?: boolean | undefined;
4242
minConstraints?: [number, number] | undefined;

types/rn-material-ui-textfield/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export interface TextFieldProps extends TextInputProps {
7878
onChangeText?(text: string): void;
7979
onFocus?(event: NativeSyntheticEvent<TextInputFocusEventData>): void;
8080
onBlur?(event: NativeSyntheticEvent<TextInputChangeEventData>): void;
81-
inputRef?: React.RefObject<any | null> | undefined;
81+
inputRef?: React.RefObject<any> | undefined;
8282
}
8383

8484
/**

0 commit comments

Comments
 (0)