Skip to content

Commit

Permalink
Refactor index.d.ts to not use export = math (see #2919)
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Oct 12, 2023
1 parent 825d877 commit e268ceb
Show file tree
Hide file tree
Showing 3 changed files with 6,764 additions and 6,454 deletions.
2 changes: 1 addition & 1 deletion test/typescript-tests/testTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,7 @@ Extend functionality with import
*/

declare module 'mathjs' {
interface MathJsStatic {
interface MathJsInstance {
testFun(): number
value: number
}
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"paths": {
"mathjs": ["./types/index.d.ts"]
},
"moduleResolution": "node",
"moduleResolution": "nodenext",
"typeRoots": [],
"types": [],
"lib": ["ES6", "DOM"],
"module": "ESNEXT",
"module": "NodeNext",
"noEmit": true,
"noImplicitAny": true,
"noImplicitThis": true,
Expand Down
Loading

0 comments on commit e268ceb

Please sign in to comment.