Skip to content

Commit c6dca1b

Browse files
committed
fix
1 parent 1fa8097 commit c6dca1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/main/src/selector.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function isTypeboxSchema(
1414

1515
// prettier-ignore
1616
type IsSuretypeSchema<TSchema> =
17-
TSchema extends {required: () => {constructor: unknown}} ? true
17+
TSchema extends {required: () => object, nullable?: never} ? true
1818
: false;
1919
function isSuretypeSchema(
2020
schema: SchemaFrom<AdapterResolver>,

0 commit comments

Comments
 (0)