TagBase is the foundation for all typia type tags (constraints like
Minimum, MaxLength, Format, etc.). It attaches compile-time metadata to
TypeScript types using a phantom property pattern.
The typia transformer reads these tags at compile time and generates
appropriate runtime validation code. The tags themselves have no runtime
presence - they exist only in the type system.
This is an internal implementation detail. Use the specific tag types (e.g.,
Minimum, Format, Pattern) rather than TagBase
directly.
Compile-time marker property for typia transformer.
This phantom property carries tag metadata in the type system. It is never
assigned at runtime - it exists only for the transformer to read during
compilation.
Base type for all typia validation tags.
TagBaseis the foundation for all typia type tags (constraints likeMinimum,MaxLength,Format, etc.). It attaches compile-time metadata to TypeScript types using a phantom property pattern.The typia transformer reads these tags at compile time and generates appropriate runtime validation code. The tags themselves have no runtime presence - they exist only in the type system.
This is an internal implementation detail. Use the specific tag types (e.g., Minimum, Format, Pattern) rather than
TagBasedirectly.Author
Jeongho Nam - https://github.com/samchon