File tree Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ interface AbstractButtonProps extends ButtonProps {
1919 bgColor : string ;
2020 borderColor ?: string ;
2121 color : string ;
22- onPress ?: ( ( e : any ) => void ) | null | undefined ;
22+ onPress ?: ( e : any ) => void ;
2323}
2424
2525const { trackEvent : analyticsTrackEvent } = analytics ( ) ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function dispatchCommand(
3333 try {
3434 UIManager . dispatchViewManagerCommand (
3535 viewId ,
36- UIManager . getViewManagerConfig ( fragmentComponentName ) . Commands [
36+ ( UIManager . getViewManagerConfig ( fragmentComponentName ) as any ) . Commands [
3737 command
3838 ] . toString ( ) ,
3939 [ viewId ] ,
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ const PassportNFCScanScreen: React.FC<PassportNFCScanScreenProps> = ({}) => {
286286 if ( Platform . OS === 'android' && emitter ) {
287287 const subscription = emitter . addListener (
288288 'NativeEvent' ,
289- ( event : string ) => console . info ( event ) ,
289+ ( event : any ) => console . info ( event ) ,
290290 ) ;
291291
292292 return ( ) => {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const ProveScreen: React.FC = () => {
4949 const [ hasScrolledToBottom , setHasScrolledToBottom ] = useState ( false ) ;
5050 const [ scrollViewContentHeight , setScrollViewContentHeight ] = useState ( 0 ) ;
5151 const [ scrollViewHeight , setScrollViewHeight ] = useState ( 0 ) ;
52- const scrollViewRef = useRef < ScrollView > ( null ) ;
52+ const scrollViewRef = useRef < any > ( null ) ;
5353
5454 const isContentShorterThanScrollView = useMemo (
5555 ( ) => scrollViewContentHeight <= scrollViewHeight ,
Original file line number Diff line number Diff line change 11{
22 "extends" : " @react-native/typescript-config" ,
33 "compilerOptions" : {
4- "lib" : [" dom" , " esnext" ],
4+ "lib" : [
5+ " dom" ,
6+ " esnext"
7+ ],
58 "resolveJsonModule" : true ,
69 "esModuleInterop" : true ,
7- "customConditions" : [" react-native-strict-api" ],
8- "skipLibCheck" : true
10+ "customConditions" : [
11+ " react-native-strict-api"
12+ ],
13+ "skipLibCheck" : true ,
14+ "allowJs" : false
915 },
1016 "exclude" : [
1117 " node_modules" ,
You can’t perform that action at this time.
0 commit comments