Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import type TConstResult from "./TConstResult";
/**
* A const's settled value (#1175): its value as decimal digits -- a u64 is
* past what a `number` holds exactly, and a `bigint` is not JSON (#1298) --
* or why it has none, kept so a use of the const can say the cause rather
* than only that there is no value.
*/
type TSettledConst =
| {
readonly kind: "value";
readonly digits: string;
readonly typeName: string;
}
| Exclude<TConstResult, { readonly kind: "value" }>;
export default TSettledConst;
|