12 lines
175 B
JavaScript
12 lines
175 B
JavaScript
![]() |
// @noflow
|
||
|
|
||
|
/* ensure there are no unintended side effects when trying branches */
|
||
|
|
||
|
({type: 'B', id: 'hi'}: {
|
||
|
type: 'A';
|
||
|
id: ?string;
|
||
|
} | {
|
||
|
type: 'B';
|
||
|
id: string;
|
||
|
});
|