22 lines
246 B
Plaintext
22 lines
246 B
Plaintext
|
=== tests/cases/compiler/m2.ts ===
|
||
|
import A = require('m1')
|
||
|
>A : typeof A
|
||
|
|
||
|
var v = A.V;
|
||
|
>v : A
|
||
|
>A.V : A
|
||
|
>A : typeof A
|
||
|
>V : A
|
||
|
|
||
|
=== tests/cases/compiler/m1.ts ===
|
||
|
const enum E {
|
||
|
>E : E
|
||
|
|
||
|
V = 100
|
||
|
>V : E
|
||
|
}
|
||
|
|
||
|
export = E
|
||
|
>E : E
|
||
|
|