Open yukulele opened 1 week ago
Thanks for reporting, we should improve the TypeScript definitions. Ideally, we can import and use type definitions from Fraction.js.
Who can help fix the TypeScript definitions of fractions?
I think you might need to update the fraction.js version first, which is out outdated.
Yes, that is addressed via https://github.com/josdejong/mathjs/pull/3283, it is a breaking change planned for v14
.
Describe the bug
Fraction
type only exposess
,n
addd
propertiesmathjs/types/index.d.ts:4018:
so we can't use methods
To Reproduce