chore: disable codegen (#3647)
We can not use Interop Layer with codegen - to be reverted once we integrate new architecture
This commit is contained in:
		@@ -64,10 +64,5 @@
 | 
				
			|||||||
        "!**/*.tsbuildinfo",
 | 
					        "!**/*.tsbuildinfo",
 | 
				
			||||||
        "!docs",
 | 
					        "!docs",
 | 
				
			||||||
        "!examples"
 | 
					        "!examples"
 | 
				
			||||||
    ],
 | 
					    ]
 | 
				
			||||||
    "codegenConfig": {
 | 
					 | 
				
			||||||
        "name": "RNCVideo",
 | 
					 | 
				
			||||||
        "type": "components",
 | 
					 | 
				
			||||||
        "jsSrcsDir": "./src/specs"
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
/* eslint-disable @typescript-eslint/ban-types */
 | 
					/* eslint-disable @typescript-eslint/ban-types */
 | 
				
			||||||
import type {HostComponent, ViewProps} from 'react-native';
 | 
					import type {HostComponent, ViewProps} from 'react-native';
 | 
				
			||||||
import {NativeModules} from 'react-native';
 | 
					import {NativeModules, requireNativeComponent} from 'react-native';
 | 
				
			||||||
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
 | 
					 | 
				
			||||||
import type {
 | 
					import type {
 | 
				
			||||||
  DirectEventHandler,
 | 
					  DirectEventHandler,
 | 
				
			||||||
  Double,
 | 
					  Double,
 | 
				
			||||||
@@ -382,6 +381,6 @@ export const VideoManager = NativeModules.VideoManager as VideoManagerType;
 | 
				
			|||||||
export const VideoDecoderProperties =
 | 
					export const VideoDecoderProperties =
 | 
				
			||||||
  NativeModules.VideoDecoderProperties as VideoDecoderPropertiesType;
 | 
					  NativeModules.VideoDecoderProperties as VideoDecoderPropertiesType;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default codegenNativeComponent<VideoNativeProps>(
 | 
					export default requireNativeComponent<VideoNativeProps>(
 | 
				
			||||||
  'RCTVideo',
 | 
					  'RCTVideo',
 | 
				
			||||||
) as VideoComponentType;
 | 
					) as VideoComponentType;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user