mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 16:31:32 +00:00
Namespaces
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import { add, renamed_sub as sub, a, renamed_b as b } from "./export";
|
||||
import { add, renamed_sub as sub, a, renamed_b as b, ns as renamed_ns } from "./export";
|
||||
|
||||
add(a, b) + sub(b, a);
|
||||
|
||||
renamed_ns.two();
|
||||
|
Reference in New Issue
Block a user