diff --git a/src/typebox/typebox-from-valibot.ts b/src/typebox/typebox-from-valibot.ts index 4a51750..31a1da9 100644 --- a/src/typebox/typebox-from-valibot.ts +++ b/src/typebox/typebox-from-valibot.ts @@ -743,7 +743,7 @@ function FromVoid(type: BaseSchema): t.TSchema { // prettier-ignore type TFromType = ( // Pipes - Extract First Type And Remap - Type extends { pipe: [infer Type extends BaseSchema, ...any[]] } ? TFromType : + Type extends { pipe: readonly [infer Type extends BaseSchema, ...any[]] } ? TFromType : // Types Type extends v.AnySchema ? TFromAny : Type extends v.ArraySchema ? TFromArray :