16 lines
725 B
Plaintext
16 lines
725 B
Plaintext
|
=== tests/cases/compiler/declFileAliasUseBeforeDeclaration_test.ts ===
|
||
|
export function bar(a: foo.Foo) { }
|
||
|
>bar : Symbol(bar, Decl(declFileAliasUseBeforeDeclaration_test.ts, 0, 0))
|
||
|
>a : Symbol(a, Decl(declFileAliasUseBeforeDeclaration_test.ts, 0, 20))
|
||
|
>foo : Symbol(foo, Decl(declFileAliasUseBeforeDeclaration_test.ts, 0, 35))
|
||
|
>Foo : Symbol(foo.Foo, Decl(declFileAliasUseBeforeDeclaration_foo.ts, 0, 0))
|
||
|
|
||
|
import foo = require("declFileAliasUseBeforeDeclaration_foo");
|
||
|
>foo : Symbol(foo, Decl(declFileAliasUseBeforeDeclaration_test.ts, 0, 35))
|
||
|
|
||
|
=== tests/cases/compiler/declFileAliasUseBeforeDeclaration_foo.ts ===
|
||
|
|
||
|
export class Foo { }
|
||
|
>Foo : Symbol(Foo, Decl(declFileAliasUseBeforeDeclaration_foo.ts, 0, 0))
|
||
|
|