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);