Package: effect
Module: Schema
Computes the decoded tuple type produced by TemplateLiteralParser.
Details
Literal parts contribute their literal value to the tuple. Schema parts
contribute their decoded Type.
Signature
type Type<Parts> = Parts extends readonly [infer Head, ...infer Tail] ? readonly [
Head extends TemplateLiteral.LiteralPart ? Head :
Head extends ConstraintDecoder<infer T, unknown> ? T
: never,
...Type<Tail>
]
: []
Since v3.10.0