I have difficulty to compile code.
Example:
import {floor} from 'mathjs' floor(n, 6)
TSError: ⨯ Unable to compile TypeScript:
"@types/mathjs": "^6.0.11",
"mathjs": "^9.3.0",
In docs function is described with two paramers.
https://mathjs.org/docs/reference/functions/floor.html
In types there is misstype
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/d21a57f090057ab87b7780b46a872c2387c6aa83/types/mathjs/index.d.ts#L662
What should I do to fix this issue ?
I have difficulty to compile code.
Example:
import {floor} from 'mathjs' floor(n, 6)TSError: ⨯ Unable to compile TypeScript:
"@types/mathjs": "^6.0.11",
"mathjs": "^9.3.0",
In docs function is described with two paramers.
https://mathjs.org/docs/reference/functions/floor.html
In types there is misstype
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/d21a57f090057ab87b7780b46a872c2387c6aa83/types/mathjs/index.d.ts#L662
What should I do to fix this issue ?