UNPKG

typia

Version:

Superfast runtime validators with only one line

12 lines (11 loc) 313 B
export declare namespace Atomic { type Type = boolean | number | string | bigint; type Literal = "boolean" | "integer" | "number" | "string" | "bigint"; type Mapper = { boolean: boolean; integer: number; number: number; string: string; bigint: bigint; }; }