Skip to content

Commit

Permalink
Merge branch 'release-3.12' into jerel/rework-fragment-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller authored Nov 26, 2024
2 parents f0945d7 + d53c724 commit 97da52c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/masking/internal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ export type UnwrapFragmentRefs<TData> =
: never;

/**
```ts
CombineIntersection<
| { foo: string }
```ts
CombineIntersection<
| { foo: string }
| { __typename: "A"; a: string }
| { __typename: "B"; b1: number }
| { __typename: "B"; b2: string }
> =>
| { foo: string }
| CombineByTypeName<
| { __typename: "A"; a: string }
| { __typename: "B"; b1: number }
| { __typename: "B"; b2: string }
> =>
| { foo: string }
| CombineByTypeName<
| { __typename: "A"; a: string }
| { __typename: "B"; b1: number }
| { __typename: "B"; b2: string }
>
```
>
```
*/
type CombineIntersection<T> =
| Exclude<T, { __typename?: string }>
Expand Down

0 comments on commit 97da52c

Please sign in to comment.