@@ -15,7 +15,7 @@ describe('zod', () => {
1515 }
1616 ` ,
1717 [
18- 'export function PrimitiveInputSchema(): z.ZodSchema< PrimitiveInput>' ,
18+ 'export function PrimitiveInputSchema(): z.ZodObject<Properties< PrimitiveInput> >' ,
1919 'a: z.string()' ,
2020 'b: z.string()' ,
2121 'c: z.boolean()' ,
@@ -36,7 +36,7 @@ describe('zod', () => {
3636 }
3737 ` ,
3838 [
39- 'export function PrimitiveInputSchema(): z.ZodSchema< PrimitiveInput>' ,
39+ 'export function PrimitiveInputSchema(): z.ZodObject<Properties< PrimitiveInput> >' ,
4040 // alphabet order
4141 'a: z.string().nullish(),' ,
4242 'b: z.string().nullish(),' ,
@@ -58,7 +58,7 @@ describe('zod', () => {
5858 }
5959 ` ,
6060 [
61- 'export function ArrayInputSchema(): z.ZodSchema< ArrayInput>' ,
61+ 'export function ArrayInputSchema(): z.ZodObject<Properties< ArrayInput> >' ,
6262 'a: z.array(z.string().nullable()).nullish(),' ,
6363 'b: z.array(z.string()).nullish(),' ,
6464 'c: z.array(z.string()),' ,
@@ -81,11 +81,11 @@ describe('zod', () => {
8181 }
8282 ` ,
8383 [
84- 'export function AInputSchema(): z.ZodSchema< AInput>' ,
84+ 'export function AInputSchema(): z.ZodObject<Properties< AInput> >' ,
8585 'b: z.lazy(() => BInputSchema())' ,
86- 'export function BInputSchema(): z.ZodSchema< BInput>' ,
86+ 'export function BInputSchema(): z.ZodObject<Properties< BInput> >' ,
8787 'c: z.lazy(() => CInputSchema())' ,
88- 'export function CInputSchema(): z.ZodSchema< CInput>' ,
88+ 'export function CInputSchema(): z.ZodObject<Properties< CInput> >' ,
8989 'a: z.lazy(() => AInputSchema())' ,
9090 ] ,
9191 ] ,
@@ -98,7 +98,7 @@ describe('zod', () => {
9898 }
9999 ` ,
100100 [
101- 'export function NestedInputSchema(): z.ZodSchema< NestedInput>' ,
101+ 'export function NestedInputSchema(): z.ZodObject<Properties< NestedInput> >' ,
102102 'child: z.lazy(() => NestedInputSchema().nullish()),' ,
103103 'childrens: z.array(z.lazy(() => NestedInputSchema().nullable())).nullish()' ,
104104 ] ,
@@ -116,7 +116,7 @@ describe('zod', () => {
116116 ` ,
117117 [
118118 'export const PageTypeSchema = z.nativeEnum(PageType)' ,
119- 'export function PageInputSchema(): z.ZodSchema< PageInput>' ,
119+ 'export function PageInputSchema(): z.ZodObject<Properties< PageInput> >' ,
120120 'pageType: PageTypeSchema' ,
121121 ] ,
122122 ] ,
@@ -136,7 +136,7 @@ describe('zod', () => {
136136 scalar URL # unknown scalar, should be any (definedNonNullAnySchema)
137137 ` ,
138138 [
139- 'export function HttpInputSchema(): z.ZodSchema< HttpInput>' ,
139+ 'export function HttpInputSchema(): z.ZodObject<Properties< HttpInput> >' ,
140140 'export const HttpMethodSchema = z.nativeEnum(HttpMethod)' ,
141141 'method: HttpMethodSchema' ,
142142 'url: definedNonNullAnySchema' ,
@@ -236,7 +236,7 @@ describe('zod', () => {
236236 { }
237237 ) ;
238238 const wantContains = [
239- 'export function PrimitiveInputSchema(): z.ZodSchema< PrimitiveInput>' ,
239+ 'export function PrimitiveInputSchema(): z.ZodObject<Properties< PrimitiveInput> >' ,
240240 'a: z.string().min(1),' ,
241241 'b: z.string().min(1),' ,
242242 'c: z.boolean(),' ,
@@ -271,7 +271,7 @@ describe('zod', () => {
271271 { }
272272 ) ;
273273 const wantContains = [
274- 'export function ScalarsInputSchema(): z.ZodSchema< ScalarsInput>' ,
274+ 'export function ScalarsInputSchema(): z.ZodObject<Properties< ScalarsInput> >' ,
275275 'date: z.date(),' ,
276276 'email: z.string().email().nullish(),' ,
277277 'str: z.string()' ,
0 commit comments