Skip to content

offer

function offer<
Params extends Fields = {},
E = never,
R = never,
CE = never,
CR = never,
>(
item: Prompt<Params, E, R, CE, CR>,
): Effect<
void,
never,
| Scope
| Graft
| Exclude<R, RequestServices>
| Exclude<CR, RequestServices>
| Exclude<Params[keyof Params]["DecodingServices"], RequestServices>
| Exclude<Params[keyof Params]["EncodingServices"], RequestServices>
>

Defined in: Prompts.ts:68

Type Parameter Default type
Params extends Fields { }
E never
R never
CE never
CR never
Parameter Type
item Prompt<Params, E, R, CE, CR>

Effect<void, never, | Scope | Graft | Exclude<R, RequestServices> | Exclude<CR, RequestServices> | Exclude<Params[keyof Params]["DecodingServices"], RequestServices> | Exclude<Params[keyof Params]["EncodingServices"], RequestServices>>