15 lines
583 B
Text
15 lines
583 B
Text
=== tests/cases/compiler/topLevelExports.ts ===
|
|
export var foo = 3;
|
|
>foo : Symbol(foo, Decl(topLevelExports.ts, 0, 10))
|
|
|
|
function log(n:number) { return n;}
|
|
>log : Symbol(log, Decl(topLevelExports.ts, 0, 19))
|
|
>n : Symbol(n, Decl(topLevelExports.ts, 2, 13))
|
|
>n : Symbol(n, Decl(topLevelExports.ts, 2, 13))
|
|
|
|
void log(foo).toString();
|
|
>log(foo).toString : Symbol(Number.toString, Decl(lib.d.ts, 458, 18))
|
|
>log : Symbol(log, Decl(topLevelExports.ts, 0, 19))
|
|
>foo : Symbol(foo, Decl(topLevelExports.ts, 0, 10))
|
|
>toString : Symbol(Number.toString, Decl(lib.d.ts, 458, 18))
|
|
|