Files
brk/website_next/learn/charts/units.js
T
2026-06-07 12:22:49 +02:00

8 lines
236 B
JavaScript

export const units = /** @type {const} */ ({
btc: { id: "btc", name: "Bitcoin" },
usd: { id: "usd", name: "US Dollars" },
});
/** @typedef {keyof typeof units} ChartUnitKey */
/** @typedef {typeof units[ChartUnitKey]} ChartUnit */