Skip to content

Commit

Permalink
[relay-runtime] return undefined from readInlineFragment (#69622)
Browse files Browse the repository at this point in the history
  • Loading branch information
robrichard committed May 16, 2024
1 parent cb74c94 commit f1525a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/relay-runtime/lib/store/readInlineData.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export function readInlineData<TKey extends KeyType>(

export function readInlineData<TKey extends KeyType>(
fragmentInput: GraphQLTaggedNode,
fragmentRef: TKey | null,
): KeyTypeData<TKey> | null;
fragmentRef: TKey | null | undefined,
): KeyTypeData<TKey> | null | undefined;

0 comments on commit f1525a2

Please sign in to comment.