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.

貢獻者指南