Skip to content

Commit acd4729

Browse files
committed
Add additional type in type check
1 parent 79bfd68 commit acd4729

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

  • integration-tests/type-tests/customScalars/all-any

integration-tests/type-tests/customScalars/all-any/differentTypes/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ test("allows any scalar name in field policies", () => {
227227
metadata: {
228228
scalar: "JSONObject",
229229
},
230+
unknown: {
231+
scalar: "Unknown",
232+
},
230233
},
231234
},
232235
},

integration-tests/type-tests/customScalars/all-any/empty/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ApolloCache, InMemoryCache, Scalar } from "@apollo/client/cache";
1+
import { InMemoryCache, Scalar } from "@apollo/client/cache";
22
import { expectTypeOf } from "expect-type";
33

44
declare function test(name: string, fn: () => void): void;
@@ -164,6 +164,9 @@ test("allows any scalar name in field policies", () => {
164164
metadata: {
165165
scalar: "JSONObject",
166166
},
167+
unknown: {
168+
scalar: "Unknown",
169+
},
167170
},
168171
},
169172
},

0 commit comments

Comments
 (0)