2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/enumFromExternalModule_1.ts ===
|
|
|
|
///<reference path='enumFromExternalModule_0.ts'/>
|
|
|
|
import f = require('enumFromExternalModule_0');
|
2014-08-28 21:40:58 +02:00
|
|
|
>f : typeof f
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x = f.Mode.Open;
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : f.Mode
|
|
|
|
>f.Mode.Open : f.Mode
|
|
|
|
>f.Mode : typeof f.Mode
|
|
|
|
>f : typeof f
|
|
|
|
>Mode : typeof f.Mode
|
|
|
|
>Open : f.Mode
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/compiler/enumFromExternalModule_0.ts ===
|
|
|
|
export enum Mode { Open }
|
|
|
|
>Mode : Mode
|
|
|
|
>Open : Mode
|
|
|
|
|