What a line item’s cost can be: an estimate, or unpriced.
kind is the stable tag, and exactly one of usd/unpriced is non-null — so a reader
who checks either has handled both.
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get kind(): string;"estimated-usd" or "unpriced".
Returns
Section titled “Returns”string
unpriced
Section titled “unpriced”Get Signature
Section titled “Get Signature”get unpriced(): Unpriced | null;The unpriced half, or null when the line was priced.
Returns
Section titled “Returns”Unpriced | null
Get Signature
Section titled “Get Signature”get usd(): EstimatedUsd | null;The estimate, or null when there is no published rate.
null rather than a zero — the one arithmetic this module refuses to enable.
Returns
Section titled “Returns”EstimatedUsd | null
Methods
Section titled “Methods”toString()
Section titled “toString()”toString(): string;Returns
Section titled “Returns”string
Provenance
Section titled “Provenance”This page is generated from bindings/microvms-js/index.d.ts by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from site/scripts/gen-reference.mjs on every pnpm run sync, so an edit made here is overwritten by the next run.
To change the page, change the doc comment in the binding’s Rust source, then regenerate the declarations with mise run dts. mise run dts:check fails when the committed file no longer matches the source.