Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
decs committed Oct 13, 2024
1 parent 1fa8097 commit c6dca1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function isTypeboxSchema(

// prettier-ignore
type IsSuretypeSchema<TSchema> =
TSchema extends {required: () => {constructor: unknown}} ? true
TSchema extends {required: () => object, nullable?: never} ? true
: false;
function isSuretypeSchema(
schema: SchemaFrom<AdapterResolver>,
Expand Down

0 comments on commit c6dca1b

Please sign in to comment.