mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 08:21:44 +00:00
Namespaces
This commit is contained in:
11
tests/parser/namespace.ts
Normal file
11
tests/parser/namespace.ts
Normal file
@ -0,0 +1,11 @@
|
||||
declare namespace A {
|
||||
namespace B {
|
||||
export namespace C {
|
||||
let aVar: i32;
|
||||
const aConst: i32;
|
||||
function aFunc(): void {}
|
||||
enum AnEnum {}
|
||||
class AClass {}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user