prettier/tests/flow_intersection/__snapshots__/jsfmt.spec.js.snap

28 lines
863 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`intersection.js 1`] = `
====================================options=====================================
parsers: ["flow", "babel"]
printWidth: 80
| printWidth
=====================================input======================================
type State = {
sharedProperty: any;
} & (
| { discriminant: "FOO"; foo: any }
| { discriminant: "BAR"; bar: any }
| { discriminant: "BAZ"; baz: any }
);
=====================================output=====================================
type State = {
sharedProperty: any
} & (
| { discriminant: "FOO", foo: any }
| { discriminant: "BAR", bar: any }
| { discriminant: "BAZ", baz: any }
);
================================================================================
`;