UNPKG

ratio-lock

Version:

A TypeScript library for managing n numbers with locked ratios. When the ratio is locked, changing one value automatically adjusts all other values to maintain their proportional relationships.

10 lines 256 B
/** * Options for the RatioLock class */ export interface RatioLockOptions { /** Decimal precision for calculated values */ precision?: number; /** Initial lock state */ locked?: boolean; } //# sourceMappingURL=ratio-lock-options.d.ts.map