Skip to content

Commit 3e7bd39

Browse files
Update test snapshots
1 parent 0155b00 commit 3e7bd39

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

compiler/crates/relay-typegen/tests/generate_flow/fixtures/semantic_non_null_in_raw_response.expected

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ export type MyQuery$data = {|
2929
|};
3030
export type MyQuery$rawResponse = {|
3131
+opera?: ?{|
32-
+cast: ?$ReadOnlyArray<?{|
33-
+character: ?string,
34-
+singer: ?{|
32+
+cast: $ReadOnlyArray<{|
33+
+character: string,
34+
+singer: {|
3535
+id: string,
3636
+name: ?string,
3737
|},
3838
|}>,
39-
+composer: ?{|
39+
+composer: {|
4040
+id: string,
4141
+name: ?string,
4242
|},

compiler/crates/relay-typegen/tests/generate_typescript/fixtures/semantic_non_null_in_raw_response.expected

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ export type MyQuery$data = {
3030
export type MyQuery$rawResponse = {
3131
readonly opera?: {
3232
readonly cast: ReadonlyArray<{
33-
readonly character: string | null | undefined;
33+
readonly character: string;
3434
readonly singer: {
3535
readonly id: string;
3636
readonly name: string | null | undefined;
37-
} | null | undefined;
38-
} | null | undefined> | null | undefined;
37+
};
38+
}>;
3939
readonly composer: {
4040
readonly id: string;
4141
readonly name: string | null | undefined;
42-
} | null | undefined;
42+
};
4343
} | null | undefined;
4444
};
4545
export type MyQuery = {

0 commit comments

Comments
 (0)