mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
13 lines
134 B
TypeScript
13 lines
134 B
TypeScript
export namespace A {
|
|
export let x = 42;
|
|
setX();
|
|
let x2 = x;
|
|
console.log(x2);
|
|
}
|
|
|
|
function setX() {
|
|
A.x = "hi";
|
|
}
|
|
|
|
let a = A;
|