15 lines
376 B
Text
15 lines
376 B
Text
=== tests/cases/compiler/declFileAliasUseBeforeDeclaration_test.ts ===
|
|
export function bar(a: foo.Foo) { }
|
|
>bar : (a: foo.Foo) => void
|
|
>a : foo.Foo
|
|
>foo : any
|
|
>Foo : foo.Foo
|
|
|
|
import foo = require("declFileAliasUseBeforeDeclaration_foo");
|
|
>foo : typeof foo
|
|
|
|
=== tests/cases/compiler/declFileAliasUseBeforeDeclaration_foo.ts ===
|
|
|
|
export class Foo { }
|
|
>Foo : Foo
|
|
|