mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Added declaration of module 'mathjs' (#9294)
Mathjs can now be correctly used in nodejs, importing it in typescript with `import * as mathjs from 'mathjs';`
This commit is contained in:
committed by
Masahiro Wakame
parent
25fe7e572e
commit
b2286eb5f9
Vendored
+5
@@ -2208,3 +2208,8 @@ declare namespace mathjs {
|
||||
toString(): string;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'mathjs'{
|
||||
export = math;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user