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 233 B
/** * Error thrown by RatioLock operations */ export class RatioLockError extends Error { constructor(message) { super(message); this.name = 'RatioLockError'; } } //# sourceMappingURL=ratio-lock-error.js.map