@@ -93,7 +93,7 @@ export namespace ModelToValibot {
9393 return Type ( `v.never` , null , [ ] )
9494 }
9595 function Null ( schema : Types . TNull ) {
96- return Type ( `v.null_ ` , null , [ ] )
96+ return Type ( `v.null ` , null , [ ] )
9797 }
9898 function String ( schema : Types . TString ) {
9999 const constraints : string [ ] = [ ]
@@ -153,7 +153,7 @@ export namespace ModelToValibot {
153153 return UnsupportedType ( schema )
154154 }
155155 function Undefined ( schema : Types . TUndefined ) {
156- return Type ( `v.undefined_ ` , null , [ ] )
156+ return Type ( `v.undefined ` , null , [ ] )
157157 }
158158 function Union ( schema : Types . TUnion ) {
159159 const inner = schema . anyOf . map ( ( schema ) => Visit ( schema ) ) . join ( `, ` )
@@ -163,7 +163,7 @@ export namespace ModelToValibot {
163163 return Type ( `v.unknown` , null , [ ] )
164164 }
165165 function Void ( schema : Types . TVoid ) {
166- return Type ( `v.void_ ` , null , [ ] )
166+ return Type ( `v.void ` , null , [ ] )
167167 }
168168 function UnsupportedType ( schema : Types . TSchema ) {
169169 return `v.any(/* unsupported */)`
0 commit comments