mathjs
mathjs copied to clipboard
Typescript: MathJS does not declare constructors for expression nodes
The index.d.ts
file does not export math.AccessorNode
, math.OperatorNode
, math.SymbolNode
, etc. I'm wondering if this is intentional since the docs state that all nodes should be available in the math
namespace.
Hey David, This is indeed a bug in the declaration files, thank you for reporting it!
PRs are welcome :)
@m93a needs to update the project for a long-term solution. I can do this if assign me
Hey Madan, I'm not sure I understand your comment properly. Are you talking about implementing types for the nodes, or are you talking about some repository-wide TypeScript solution? If the former, feel free to open a PR! If the latter, please open a new issue with the proposal you have on your mind, we'll discuss it there.
This will be fixed by #2290.
As #2290 has been merged, I believe this is completed. Closing.