mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
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;
|
|
});
|