TypeScript/tests/baselines/reference/letKeepNamesOfTopLevelItems.types

18 lines
478 B
Plaintext
Raw Normal View History

2015-03-24 18:09:33 +01:00
=== tests/cases/compiler/letKeepNamesOfTopLevelItems.ts ===
let x;
2015-04-13 23:01:57 +02:00
>x : any, Symbol(x, Decl(letKeepNamesOfTopLevelItems.ts, 0, 3))
2015-03-24 18:09:33 +01:00
function foo() {
2015-04-13 23:01:57 +02:00
>foo : () => void, Symbol(foo, Decl(letKeepNamesOfTopLevelItems.ts, 0, 6))
2015-03-24 18:09:33 +01:00
let x;
2015-04-13 23:01:57 +02:00
>x : any, Symbol(x, Decl(letKeepNamesOfTopLevelItems.ts, 2, 7))
2015-03-24 18:09:33 +01:00
}
module A {
2015-04-13 23:01:57 +02:00
>A : typeof A, Symbol(A, Decl(letKeepNamesOfTopLevelItems.ts, 3, 1))
2015-03-24 18:09:33 +01:00
let x;
2015-04-13 23:01:57 +02:00
>x : any, Symbol(x, Decl(letKeepNamesOfTopLevelItems.ts, 6, 7))
2015-03-24 18:09:33 +01:00
}