josdejong/mathjs

How to access `Unit.isValidAlpha`?

Open

#2,107 创建于 2021年2月15日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (1,298 fork)batch import
bughelp wantedtypescript

仓库指标

Star
 (13,832 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Using TypeScript:

import math from 'mathjs';`

// @ts-expect-error
math.Unit.isValidAlpha = () => {
	return true;
};

Throws Cannot read property \'Unit\' of undefined.

贡献者指南