Skip to content

Commit

Permalink
Merge pull request #154 from siberiacancode/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
debabin authored Feb 5, 2024
2 parents 3840d2b + bbe8c88 commit 557c981
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/utils/types/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export type GraphQLTopLevelPlainEntityDescriptor<Check extends CheckMode = Check
: Check extends CheckActualValueCheckMode
? {
checkMode: Check;
value: never;
value?: never;
}
: never;

Expand All @@ -54,7 +54,7 @@ type GraphQLPropertyLevelPlainEntityDescriptor<Check extends CheckMode = CheckMo
: Check extends CheckActualValueCheckMode
? {
checkMode: Check;
value: never;
value?: never;
}
: never;

Expand All @@ -76,7 +76,7 @@ type GraphQLMappedEntityDescriptor<Check extends CheckMode = CheckMode> = Check
: Check extends CheckActualValueCheckMode
? {
checkMode: Check;
value: never;
value?: never;
}
: never;

Expand Down
6 changes: 3 additions & 3 deletions src/utils/types/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type RestTopLevelPlainEntityDescriptor<Check extends CheckMode = CheckMod
: Check extends CheckActualValueCheckMode
? {
checkMode: Check;
value: never;
value?: never;
}
: never;

Expand All @@ -55,7 +55,7 @@ type RestPropertyLevelPlainEntityDescriptor<Check extends CheckMode = CheckMode>
: Check extends CheckActualValueCheckMode
? {
checkMode: Check;
value: never;
value?: never;
}
: never;

Expand All @@ -77,7 +77,7 @@ type RestMappedEntityDescriptor<Check extends CheckMode = CheckMode> = Check ext
: Check extends CheckActualValueCheckMode
? {
checkMode: Check;
value: never;
value?: never;
}
: never;

Expand Down

0 comments on commit 557c981

Please sign in to comment.