UNPKG

@formatjs/ecma402-abstract

Version:

A collection of implementation for ECMAScript abstract operations

6 lines (5 loc) 323 B
import type { Decimal } from "@formatjs/bigdecimal"; import { type NumberFormatInternal, type NumberFormatPart } from "../types/number.js"; export declare function FormatNumericToParts(nf: Intl.NumberFormat, x: Decimal, implDetails: { getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal; }): NumberFormatPart[];