UNPKG

@rimbu/typical

Version:

Type-level numeric and string operations

19 lines (16 loc) 812 B
/** * @packageDocumentation * * The `@rimbu/typical` package is a type‑level library that offers numeric and string * operations on TypeScript literal types, enabling advanced compile‑time constraints * and computed literal results.<br/> * Use it primarily in type‑heavy or experimental code to express rules like “only numbers * greater than N” or “strings containing a pattern”, while being mindful that it relies * on advanced type system features that may evolve between TypeScript versions.<br/> * See the package README for motivation, examples, and guidance on production use. */ import type * as U from './utils.mjs'; import type * as Str from './str.mjs'; import type * as StrNum from './strnum.mjs'; import type * as Num from './num.mjs'; export type { U, Str, StrNum, Num };