44 lines
817 B
Text
44 lines
817 B
Text
=== 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
|
|
>0 : number
|
|
|
|
Minute = 1,
|
|
>Minute : TimeUnit
|
|
>1 : number
|
|
|
|
Hour = 2,
|
|
>Hour : TimeUnit
|
|
>2 : number
|
|
|
|
Day = 3,
|
|
>Day : TimeUnit
|
|
>3 : number
|
|
|
|
Week = 4,
|
|
>Week : TimeUnit
|
|
>4 : number
|
|
|
|
Month = 5,
|
|
>Month : TimeUnit
|
|
>5 : number
|
|
|
|
Year = 6,
|
|
>Year : TimeUnit
|
|
>6 : number
|
|
}
|
|
}
|