mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
584 B
Plaintext
23 lines
584 B
Plaintext
//// [tests/cases/compiler/assignmentToFunction.ts] ////
|
|
|
|
=== assignmentToFunction.ts ===
|
|
function fn() { }
|
|
>fn : Symbol(fn, Decl(assignmentToFunction.ts, 0, 0))
|
|
|
|
fn = () => 3;
|
|
>fn : Symbol(fn, Decl(assignmentToFunction.ts, 0, 0))
|
|
|
|
namespace foo {
|
|
>foo : Symbol(foo, Decl(assignmentToFunction.ts, 1, 13))
|
|
|
|
function xyz() {
|
|
>xyz : Symbol(xyz, Decl(assignmentToFunction.ts, 3, 15))
|
|
|
|
function bar() {
|
|
>bar : Symbol(bar, Decl(assignmentToFunction.ts, 4, 20))
|
|
}
|
|
bar = null;
|
|
>bar : Symbol(bar, Decl(assignmentToFunction.ts, 4, 20))
|
|
}
|
|
}
|