This makes sure that SwitchShadowNode native code is generated by removing interfaceOnly:true for windows
export default (codegenNativeComponent<SwitchNativeProps>('Switch', {
paperComponentName: 'RCTSwitch',
excludedPlatforms: ['android'],
intefaceOnly: true // this is removed for windows
}): ComponentType);
This is done while integration: facebook/react-native@changelog/v0.82.0-rc.0...v0.82.1
into 0.82-stable .
This makes sure that SwitchShadowNode native code is generated by removing interfaceOnly:true for windows