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