type-alias / @typed/router/Parser

Parser.Alphabet

The ASCII uppercase and lowercase 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.Alphabet through the imported Parser export. Its declaration below describes the member.

Signatures

type Alphabet = LowercaseAlphabet | UppercaseAlphabet;

Why

Route parameter names use an explicit compile-time alphabet.

Ownership and lifetime

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

Source