mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-11 01:02:01 +03:00
🧹 [code health] Document PctOp to clarify active usage
Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com>
This commit is contained in:
parent
c958f30662
commit
c76c8fc7bd
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import * as vocab from "./vocab";
|
||||||
import { UNIT_DATA, SI_PREFIXES, DATA_SI_PREFIXES, IEC_PREFIXES, SCALE_DATA } from "./unitdata";
|
import { UNIT_DATA, SI_PREFIXES, DATA_SI_PREFIXES, IEC_PREFIXES, SCALE_DATA } from "./unitdata";
|
||||||
import { EXTRA_UNITS, CRYPTO } from "./extraunits";
|
import { EXTRA_UNITS, CRYPTO } from "./extraunits";
|
||||||
|
|
||||||
|
/** Operators for percentage calculations. */
|
||||||
export type PctOp =
|
export type PctOp =
|
||||||
| "of" | "off" | "on"
|
| "of" | "off" | "on"
|
||||||
| "as_pct_of" | "as_pct_off" | "as_pct_on"
|
| "as_pct_of" | "as_pct_off" | "as_pct_on"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue