123456789101112131415161718192021 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`intersection.js 1`] = `
- type State = {
- sharedProperty: any;
- } & (
- | { discriminant: "FOO"; foo: any }
- | { discriminant: "BAR"; bar: any }
- | { discriminant: "BAZ"; baz: any }
- );
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- type State = {
- sharedProperty: any
- } & (
- | { discriminant: "FOO", foo: any }
- | { discriminant: "BAR", bar: any }
- | { discriminant: "BAZ", baz: any }
- );
- `;
|