diff --git a/tests/types/create.test-d.ts b/tests/types/create.test-d.ts index 5908fd2..33e34e3 100644 --- a/tests/types/create.test-d.ts +++ b/tests/types/create.test-d.ts @@ -15,7 +15,7 @@ it('infers initial values from primitives in the schema', async () => { expectTypeOf(new Collection({ schema: z.object({ id: z.string() }) }).create) .parameter(0) .toEqualTypeOf<{ id: string }>() - z + expectTypeOf( new Collection({ schema: z.object({ id: z.string().optional() }) }).create, )