type-alias / @typed/router/Parser

Parser.UppercaseAlphabet

The uppercase ASCII character union.

Package version
1.0.0-beta.13
Category
Parser primitives
Since
1.0.0
Member of
Parser

Import

import { Parser } from "@typed/router/Parser";

Access Parser.UppercaseAlphabet through the imported Parser export. Its declaration below describes the member.

Signatures

type UppercaseAlphabet = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z";

Why

The parser avoids widening literal route names to arbitrary strings.

Ownership and lifetime

UppercaseAlphabet is a string-literal union used only during compiler evaluation and is erased from emitted JavaScript.

Source