UNPKG

@formatjs/ecma402-abstract

Version:

A collection of implementation for ECMAScript abstract operations

9 lines (8 loc) 427 B
import type { Decimal } from "@formatjs/bigdecimal"; import { type NumberFormatInternal, type NumberRangeToParts } from "../types/number.js"; /** * https://tc39.es/ecma402/#sec-formatnumericrangetoparts */ export declare function FormatNumericRangeToParts(numberFormat: Intl.NumberFormat, x: Decimal, y: Decimal, { getInternalSlots }: { getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal; }): NumberRangeToParts[];