mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 00:11:28 +00:00
PSON decoder example using namespaced imports
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
namespace Outer {
|
||||
export namespace Inner {
|
||||
export let aVar: i32 = 0;
|
||||
export var aVar: i32 = 0;
|
||||
export function aFunc(): i32 { return aVar; }
|
||||
export enum anEnum { ONE = 1, TWO = 2 }
|
||||
}
|
||||
|
Reference in New Issue
Block a user