Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should raise an error when mutate GENDER not opaque type', () => {
// $ExpectError: need opaque type from IntlVariations
IntlViewerContext.GENDER = 1;
});
onChange={(event: SyntheticUIEvent<>) => {
const vcGender = parseInt(event.target.value, 10);
IntlViewerContext.GENDER = vcGender;
this.forceUpdate();
}}>
<option value="{IntlVariations.GENDER_UNKNOWN}"></option>
onChange={(event: SyntheticUIEvent<>) => {
const vcGender = parseInt(event.target.value, 10);
IntlViewerContext.GENDER = vcGender;
this.forceUpdate();
}}>
<option value="{IntlVariations.GENDER_UNKNOWN}"></option>