josdejong/mathjs

mathjs/number missing typescript definitions.

Aperta

#2506 aperta il 28 mar 2022

 (16 commenti) (6 reazioni) (0 assegnatari)JavaScript (1314 fork)batch import
bughelp wantedtypescript

Metriche repository

Star
 (15.065 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

There is still no "mathjs/number" typescript definition.

import {
  create,
  all
} from "mathjs/number";

results in typescript error

Cannot find module 'mathjs/number' or its corresponding type declarations.ts(2307)

There was an issue on this before (#1665). It got closed with reference to #1539. #1539 got closed with a comment asking us to open new issues if there is some issue with the current types. So here I am.

Guida contributor