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:
Federico Caselli
2016-05-15 01:17:57 +09:00
committed by Masahiro Wakame
parent 25fe7e572e
commit b2286eb5f9
+5
View File
@@ -2208,3 +2208,8 @@ declare namespace mathjs {
toString(): string;
}
}
declare module 'mathjs'{
export = math;
}