Namespaces

This commit is contained in:
dcodeIO
2017-12-13 23:24:13 +01:00
parent 7d85b0cc7f
commit 99b0fdf7a8
30 changed files with 514 additions and 128 deletions

View File

@ -1,7 +1,9 @@
export { add, renamed_sub, a as renamed_a, renamed_b as rerenamed_b } from "./export";
import { add as imported_add, renamed_sub as imported_sub } from "./export";
import { add as imported_add, renamed_sub as imported_sub, ns as imported_ns } from "./export";
export { imported_add as renamed_add, imported_sub as rerenamed_sub };
imported_add(1, 2) + imported_sub(3, 4);
export { ns as renamed_ns } from "./export";