DocumentationNamespacesPrompttype-aliasesTemplateType alias: Template<T> Template<T>: (params) => Promise<Msg[]> | Msg[] Type parameters ParameterDefaultTRecord<string, any> Turn structured data into a message. Parameters ParameterTypeparamsT Returns Promise<Msg[]> | Msg[] Source src/prompt/types.ts:14 (opens in a new tab)ChainValidator