TypeScript declarations/tests for nullish missing · Issue #3597 · josdejong/mathjs · GitHub
Skip to content

TypeScript declarations/tests for nullish missing #3597

Closed

Description

@danpoletaev

The nullishDependencies factory is correctly exported by the JavaScript module but appears to be missing from the TypeScript declaration file (index.d.ts). This blocks type-safe compilation.

error TS2724: '"mathjs"' has no exported member named 'nullishDependencies'. Did you mean 'isNullDependencies'?

but when i console log nullishDependencies after importing, I can see that it exists.

Activity

  1. changed the title [-]nullishDependencies doesn't exist in type declaration[/-] [+]TypeScript declarations/tests for nullish missing[/+] on Nov 20, 2025
  2. gwhitney commented on Nov 20, 2025

    @gwhitney
    Collaborator

    Mea culpa. I merged #3497 without noticing it had no TypeScript updates at all. Anyone care to supply the necessary updates to types/index.d.ts and test/typescript-tests/testTypes.ts?

  3. added
    good first issueRelatively localized/straightforward changes that would provide a good introduction to mathjs code
    on Nov 20, 2025
  4. added a commit that references this issue on Nov 26, 2025
    6545dcd
  5. added a commit that references this issue on Dec 10, 2025
    8a9e1be
  6. added a commit that references this issue on Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueRelatively localized/straightforward changes that would provide a good introduction to mathjs codehelp wantedtypescript

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions