diff --git a/src/masking/internal/types.ts b/src/masking/internal/types.ts index 8343e3b86b3..ead6b64abdf 100644 --- a/src/masking/internal/types.ts +++ b/src/masking/internal/types.ts @@ -29,20 +29,20 @@ export type UnwrapFragmentRefs = : 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 = | Exclude