How to access `Unit.isValidAlpha`?
Open
bug
help wanted
typescript
- Dominant language
- JavaScript
- Stars
- 15.1k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Using TypeScript:
```ts
import math from 'mathjs';`
// @ts-expect-error
math.Unit.isValidAlpha = () => {
return true;
};
```
Throws `Cannot read property \'Unit\' of undefined`.
Contributor guide
Assessment
This issue has not been assessed yet.