File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export {};
1212
1313type 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
1717export type TestHookGenerator = TestHookGeneratorWithRefCallback & TestHookGeneratorWithRefObject ;
1818
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export interface ResizeCallbackData {
3636export 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 ;
Original file line number Diff line number Diff 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/**
You can’t perform that action at this time.
0 commit comments