Skip to content

Commit 3f9c4a7

Browse files
committed
fix failed tests
1 parent 1a7bb13 commit 3f9c4a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helper/field-resolver.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ it('DefaultFieldsResolver', () => {
5757
type OptionalTypeWithTransientFields = { a: number | undefined; b: OptionalSubType[] | undefined };
5858
type OptionalSubType = { c: number | undefined };
5959
expectTypeOf<DefaultFieldsResolver<OptionalTypeWithTransientFields>>().toEqualTypeOf<{
60-
a: number | undefined | Dynamic<OptionalTypeWithTransientFields, number | undefined>;
61-
b:
60+
a?: number | undefined | Dynamic<OptionalTypeWithTransientFields, number | undefined>;
61+
b?:
6262
| readonly { readonly c: number | undefined }[]
6363
| undefined
6464
| Dynamic<OptionalTypeWithTransientFields, readonly { readonly c: number | undefined }[] | undefined>;

0 commit comments

Comments
 (0)