diff --git a/packages/main/src/selector.ts b/packages/main/src/selector.ts index 1178d59..3c192f1 100644 --- a/packages/main/src/selector.ts +++ b/packages/main/src/selector.ts @@ -14,7 +14,7 @@ function isTypeboxSchema( // prettier-ignore type IsSuretypeSchema = - TSchema extends {required: () => {constructor: unknown}} ? true + TSchema extends {required: () => object, nullable?: never} ? true : false; function isSuretypeSchema( schema: SchemaFrom,