38 lines
726 B
Plaintext
38 lines
726 B
Plaintext
|
=== tests/cases/compiler/externalModuleReferenceDoubleUnderscore1.ts ===
|
||
|
declare module 'timezonecomplete' {
|
||
|
import basics = require("__timezonecomplete/basics");
|
||
|
>basics : typeof basics
|
||
|
|
||
|
export import TimeUnit = basics.TimeUnit;
|
||
|
>TimeUnit : typeof basics.TimeUnit
|
||
|
>basics : typeof basics
|
||
|
>TimeUnit : basics.TimeUnit
|
||
|
}
|
||
|
|
||
|
declare module '__timezonecomplete/basics' {
|
||
|
export enum TimeUnit {
|
||
|
>TimeUnit : TimeUnit
|
||
|
|
||
|
Second = 0,
|
||
|
>Second : TimeUnit
|
||
|
|
||
|
Minute = 1,
|
||
|
>Minute : TimeUnit
|
||
|
|
||
|
Hour = 2,
|
||
|
>Hour : TimeUnit
|
||
|
|
||
|
Day = 3,
|
||
|
>Day : TimeUnit
|
||
|
|
||
|
Week = 4,
|
||
|
>Week : TimeUnit
|
||
|
|
||
|
Month = 5,
|
||
|
>Month : TimeUnit
|
||
|
|
||
|
Year = 6,
|
||
|
>Year : TimeUnit
|
||
|
}
|
||
|
}
|