#3637·mathjs

mathjs.unit 的类型注解不正确

作者: mia-trilo创建于 2026年1月28日更新于 2026年4月24日

描述错误index.d.ts 中, unit 函数被标注为 unit(value: MathNumericType, unit?: string): Unit。然而,根据文档,有效的调用是

内容来源: josdejong/mathjs