@ai-sdk/react 0.0.35 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/use-object.ts CHANGED
@@ -21,7 +21,7 @@ export type Experimental_UseObjectOptions<RESULT> = {
21
21
  /**
22
22
  * A Zod schema that defines the shape of the complete object.
23
23
  */
24
- schema: z.Schema<RESULT>;
24
+ schema: z.Schema<RESULT, z.ZodTypeDef, any>;
25
25
 
26
26
  /**
27
27
  * An unique identifier. If not provided, a random one will be