From 011522c556bc3deabd234837b6fa2a9f55d7a696 Mon Sep 17 00:00:00 2001 From: Francois <819179+fchu@users.noreply.github.com> Date: Mon, 2 Dec 2024 22:09:45 -0800 Subject: [PATCH] Reexport Fraction types from fraction.js instead of using custom one --- types/index.d.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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