UNPKG

@typedly/digit

Version:

A TypeScript type definitions package for digit types.

6 lines (5 loc) 180 B
/** * @description Type for numeric digits as string literals from '0' to '9'. * @export */ export type DigitString = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';