Type Alias: DeepPartial<T>
DeepPartial<
T> =Textendsobject?{ [K in keyof T]?: DeepPartial<T[K]> }:T
Defined in: packages/agentos/src/api/streamObject.ts:31
Recursively makes every property in T optional, including nested objects.
Used to type the partial objects yielded by StreamObjectResult.partialObjectStream
as the LLM incrementally builds the JSON response.
Type Parameters
T
T
The source type to make deeply partial.