fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
6.32k stars 204 forks source link

Set `typed` = true when the wrapped schema of nonOptional is typed #926

Closed genki closed 6 days ago

genki commented 6 days ago

This fixes #925

The nonOptional schema has not been typed = true when its wrapping schema becomes typed = true. I did changed it to be typed.

pkg-pr-new[bot] commented 6 days ago

Open in Stackblitz

pnpm add https://pkg.pr.new/valibot@926

commit: 5288f7a