API reference › @evolu/common › Type › TemplateLiteralStringBrand

Defined in: packages/common/src/Type.ts:5508

Brands the string Output of a templateLiteral with a transformed capture Type.

TypeScript cannot prove from a string literal alone that such a capture is canonically encoded, so the string must be validated or created with to.

Properties

[templateLiteralStringBrandSymbol]

readonly [templateLiteralStringBrandSymbol]: Parts;

Defined in: packages/common/src/Type.ts:5511