type-alias / @typed/router/Parser

Parser.LowercaseAlphabet

The lowercase ASCII character union.

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

Import

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

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

Signatures

type LowercaseAlphabet = "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

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

Source