s-private API Documentation - v3.8.1
    Preparing search index...
    • Creates a validated ArticleTitle from a string.

      Parameters

      • v: string

        The raw string value to validate

      Returns string & $brand<"ArticleTitle">

      A branded ArticleTitle value

      When validation fails (empty or exceeds 128 chars)

      const title = makeArticleTitle("Introduction to TypeScript");