00529
Absolute
type RemoveNegative<T extends string> = T extends `-${infer Digit}` ? Digit : T;
type Absolute<T extends number | string | bigint> = RemoveNegative<`${T}`>
type RemoveNegative<T extends string> = T extends `-${infer Digit}` ? Digit : T;
type Absolute<T extends number | string | bigint> = RemoveNegative<`${T}`>