Last updated 3 years ago
Was this helpful?
WrappedText<Text, Opening, Closing>
The type represents the wrapped text of a generic type variables in order , and on the template.
type WrappedText< Text extends string, Opening extends string, Closing extends string > = `${Opening}${Text}${Closing}`;
Text
Opening
Closing