mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
756 B
Plaintext
17 lines
756 B
Plaintext
//// [tests/cases/compiler/declFileAliasUseBeforeDeclaration.ts] ////
|
|
|
|
=== 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))
|
|
|
|
=== declFileAliasUseBeforeDeclaration_foo.ts ===
|
|
export class Foo { }
|
|
>Foo : Symbol(Foo, Decl(declFileAliasUseBeforeDeclaration_foo.ts, 0, 0))
|
|
|