mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
10 lines
185 B
JavaScript
10 lines
185 B
JavaScript
// @noflow
|
|
|
|
const Constants = require('./test30-helper');
|
|
|
|
type ActionType =
|
|
| { type: 'foo', x: number }
|
|
| { type: 'bar', x: number }
|
|
|
|
({ type: Constants.BAR, x: 0 }: ActionType);
|