mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 15:32:16 +00:00
32 lines
512 B
TypeScript
32 lines
512 B
TypeScript
/* tslint:disable:no-duplicate-imports */
|
|
|
|
import {
|
|
add,
|
|
sub as sub,
|
|
renamed_mul as mul,
|
|
a,
|
|
b as b,
|
|
renamed_c as c,
|
|
ns as renamed_ns
|
|
} from "./export";
|
|
|
|
add(a, b) + sub(b, c) + mul(c, a);
|
|
|
|
renamed_ns.two();
|
|
|
|
import * as other from "./export";
|
|
|
|
other.add(other.a, other.b) +
|
|
other.sub(other.b, other.renamed_c) +
|
|
other.renamed_mul(other.renamed_c, other.a);
|
|
|
|
other.ns.two();
|
|
|
|
import theDefault from "./export";
|
|
|
|
theDefault.two();
|
|
|
|
import theOtherDefault from "./export-default";
|
|
|
|
theOtherDefault();
|