25 lines
407 B
JavaScript
25 lines
407 B
JavaScript
//// [declFileAliasUseBeforeDeclaration2.ts]
|
|
|
|
declare module "test" {
|
|
module A {
|
|
class C {
|
|
}
|
|
}
|
|
class B extends E {
|
|
}
|
|
import E = A.C;
|
|
}
|
|
|
|
//// [declFileAliasUseBeforeDeclaration2.js]
|
|
|
|
|
|
//// [declFileAliasUseBeforeDeclaration2.d.ts]
|
|
declare module "test" {
|
|
module A {
|
|
class C {
|
|
}
|
|
}
|
|
class B extends E {
|
|
}
|
|
import E = A.C;
|
|
}
|