You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeScript declarations/tests for nullish missing #3597
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.
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?
Activity
[-]nullishDependencies doesn't exist in type declaration[/-][+]TypeScript declarations/tests for nullish missing[/+]gwhitney commentedon Nov 20, 2025
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?
fix: josdejong#3597 added nullish type definitions (josdejong#3601)
fix: #3602 let function `setDistinct` keep the original order (#3603)
fix: remove obsolete @ts-expect-error for nullishDependencies (#599)