diff --git a/types/index.d.ts b/types/index.d.ts index 24388fcaae..750421f975 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,7 @@ import { Decimal } from 'decimal.js' +import { Fraction } from 'fraction.js' + +export { Fraction } export as namespace math @@ -4049,12 +4052,6 @@ export interface MatrixCtor { // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface BigNumber extends Decimal {} -export interface Fraction { - s: bigint - n: bigint - d: bigint -} - export interface Complex { re: number im: number