feat(serialize, parse): Number, String, Array, ConstString, ConstArray

This commit is contained in:
2025-08-03 10:54:21 +03:00
commit 26eb3b9068
15 changed files with 2969 additions and 0 deletions

32
types/limits.d.ts vendored Normal file
View File

@ -0,0 +1,32 @@
export interface IntLimit {
MIN_VALUE: number
MAX_VALUE: number
}
export interface BigIntLimit {
MIN_VALUE: bigint
MAX_VALUE: bigint
}
export interface FloatLimit {
MIN_VALUE: number
MAX_VALUE: number
MIN_NORMAL_VALUE: number
MIN_SAFE_INTEGER: number
MAX_SAFE_INTEGER: number
EPSILON: number
}
export const limits: {
i8: IntLimit
i16: IntLimit
i32: IntLimit
i64: BigIntLimit
u8: IntLimit
u16: IntLimit
u32: IntLimit
u64: BigIntLimit
bool: IntLimit
f32: FloatLimit
f64: FloatLimit
};