josdejong/mathjs

How to access `Unit.isValidAlpha`?

Open

#2,107 opened on 2021年2月15日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (1,298 forks)batch import
bughelp wantedtypescript

Repository metrics

Stars
 (13,832 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Using TypeScript:

import math from 'mathjs';`

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

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

コントリビューターガイド