UNPKG

typia

Version:

Superfast runtime validators with only one line

27 lines (25 loc) 485 B
class MetadataTuple { type; tags; /** * @hidden */ constructor(props) { this.type = props.type; this.tags = props.tags; } /** * @internal */ static create(props) { return new MetadataTuple(props); } toJSON() { return { name: this.type.name, tags: this.tags.map((row) => row.slice()), }; } } export { MetadataTuple }; //# sourceMappingURL=MetadataTuple.mjs.map