InferContextOptions
@daydreamsai/core / InferContextOptions
Type Alias: InferContextOptions<TContext>
InferContextOptions<
TContext> =TContextextendsContext<any,any, infer Options,any,any> ?Options:never
Defined in: packages/core/src/types.ts:960
Extracts the Context type from a Context type
Type Parameters
TContext
TContext extends AnyContext
The Context type to extract Ctx from