Skip to content

Commit

Permalink
Fix accidentally broken type
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Jan 28, 2024
1 parent ce5b96c commit cac589e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,9 @@ type resultOfFragmentsRec<Fragments extends readonly any[]> = Fragments extends

type fragmentOfTypeRec<Document extends makeDefinitionDecoration> =
| readonly fragmentOfTypeRec<Document>[]
| FragmentOf<Document>;
| FragmentOf<Document>
| undefined
| null;

type resultOfTypeRec<Data> = readonly resultOfTypeRec<Data>[] | Data | undefined | null;

Expand Down

0 comments on commit cac589e

Please sign in to comment.