14 lines
272 B
Text
14 lines
272 B
Text
=== tests/cases/compiler/functionExpressionWithResolutionOfTypeOfSameName02.ts ===
|
|
interface Foo {
|
|
>Foo : Foo
|
|
}
|
|
|
|
var x = function Foo() {
|
|
>x : () => void
|
|
>function Foo() { var x: Foo;} : () => void
|
|
>Foo : () => void
|
|
|
|
var x: Foo;
|
|
>x : Foo
|
|
>Foo : Foo
|
|
}
|