File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-update" ,
3- "version" : " 10.31.0-beta.0 " ,
3+ "version" : " 10.31.0-beta.1 " ,
44 "description" : " react-native hot update" ,
55 "main" : " src/index" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const UpdateProvider = ({
3535 client = useRef ( client ) . current ;
3636 const { options } = client ;
3737
38- const stateListener = useRef < NativeEventSubscription > ( ) ;
38+ const stateListener = useRef < NativeEventSubscription > ( undefined ) ;
3939 const [ updateInfo , setUpdateInfo ] = useState < CheckResult > ( ) ;
4040 const updateInfoRef = useRef ( updateInfo ) ;
4141 const [ progress , setProgress ] = useState < ProgressData > ( ) ;
Original file line number Diff line number Diff line change 11{
2- "extends" : " @react-native/typescript-config/tsconfig.json" ,
3- "include" : [" src/**/*" ]
2+ "extends" : " @react-native/typescript-config" ,
3+ "include" : [" **/*.ts" , " **/*.tsx" ],
4+ "exclude" : [" **/node_modules" , " **/Pods" ]
45}
You can’t perform that action at this time.
0 commit comments