@ant-lang/wasm 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/ant.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ const ant = await loadAnt();
|
|
|
14
14
|
|
|
15
15
|
const files = {
|
|
16
16
|
"main.ant": `import "./greet.ant" { greet }\nprintln(greet(Os.args()[0]))\n`,
|
|
17
|
-
"greet.ant":
|
|
17
|
+
"greet.ant": 'export func greet(name: string): string { "hello, ${name}" }\n',
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
ant.check({ files }); // [] — well typed
|
package/ant.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED