josdejong/mathjs

How to access `Unit.isValidAlpha`?

开放

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

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (1,314 个派生)batch import
bughelp wantedtypescript

仓库指标

星标
 (15,065 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Using TypeScript:

import math from 'mathjs';`

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

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

贡献者指南