This completes support for module imports and exports. Many forms of exports are supported, and are all now tested, for example: // Export individual declarations as we go: export class C {} export interface I {} export let x = 42; // Export individual declarations explicitly: class D {} interface J {} let w = 42; export {D, J, w}; // Rename exports: export {D as E, J as K, w as x}; // Re-export members from other modules: export {A, B, c} from "other"; // Rename re-exports: export {A as M, B as N, c as o} from "other"; // Re-export entire module as a submodule: import * as other from "other"; export {other}; |
||
---|---|---|
.. | ||
cmd | ||
lib | ||
tests | ||
.gitignore | ||
mujs | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json | ||
yarn.lock |
MuJS
This directory contains Mu's JavaScript compiler.
It implements a subset of JavaScript with TypeScript-style type annotations, and can compile that subset into MuPack/IL.