Templated
type Templated<T> = T extends readonly infer U[] ? readonly (Templated<U> | ListPlaceholder<U>)[] : T extends object ? { readonly [K in keyof T]: K extends AsWritten ? T[K] : Templated<T[K]> } : T | ValuePlaceholder;Defined in: packages/sdk/src/builder.ts:305
T with a template’s placeholders allowed where fill takes them: a value for text, numbers and true/false, a list placeholder among a list’s items. type, schema and profiles are written as they are, with no placeholder.
Type Parameters
Section titled “Type Parameters”T
0.2.0