UNPKG

3.17 kBTypeScriptView Raw
1import type {
2 AccessorDescriptor as ESAccessorDescriptor,
3 DataDescriptor as ESDataDescriptor,
4 GenericDescriptor as ESGenericDescriptor,
5 PropertyDescriptor as ESPropertyDescriptor,
6} from "./index";
7
8interface ES5 {
9 readonly "Abstract Equality Comparison": typeof import("./5/AbstractEqualityComparison");
10 readonly "Abstract Relational Comparison": typeof import("./5/AbstractRelationalComparison");
11 readonly "Strict Equality Comparison": typeof import("./5/StrictEqualityComparison");
12 readonly CheckObjectCoercible: typeof import("./5/CheckObjectCoercible");
13 readonly DateFromTime: typeof import("./5/DateFromTime");
14 readonly Day: typeof import("./5/Day");
15 readonly DayFromYear: typeof import("./5/DayFromYear");
16 readonly DaysInYear: typeof import("./5/DaysInYear");
17 readonly DayWithinYear: typeof import("./5/DayWithinYear");
18 readonly FromPropertyDescriptor: typeof import("./5/FromPropertyDescriptor");
19 readonly HourFromTime: typeof import("./5/HourFromTime");
20 readonly InLeapYear: typeof import("./5/InLeapYear");
21 readonly IsAccessorDescriptor: typeof import("./5/IsAccessorDescriptor");
22 readonly IsCallable: typeof import("./5/IsCallable");
23 readonly IsDataDescriptor: typeof import("./5/IsDataDescriptor");
24 readonly IsGenericDescriptor: typeof import("./5/IsGenericDescriptor");
25 readonly IsPropertyDescriptor: typeof import("./5/IsPropertyDescriptor");
26 readonly MakeDate: typeof import("./5/MakeDate");
27 readonly MakeDay: typeof import("./5/MakeDay");
28 readonly MakeTime: typeof import("./5/MakeTime");
29 readonly MinFromTime: typeof import("./5/MinFromTime");
30 readonly modulo: typeof import("./5/modulo");
31 readonly MonthFromTime: typeof import("./5/MonthFromTime");
32 readonly msFromTime: typeof import("./5/msFromTime");
33 readonly SameValue: typeof import("./5/SameValue");
34 readonly SecFromTime: typeof import("./5/SecFromTime");
35 readonly TimeClip: typeof import("./5/TimeClip");
36 readonly TimeFromYear: typeof import("./5/TimeFromYear");
37 readonly TimeWithinDay: typeof import("./5/TimeWithinDay");
38 readonly ToBoolean: typeof import("./5/ToBoolean");
39 readonly ToInt32: typeof import("./5/ToInt32");
40 readonly ToInteger: typeof import("./5/ToInteger");
41 readonly ToNumber: typeof import("./5/ToNumber");
42 readonly ToObject: typeof import("./5/ToObject");
43 readonly ToPrimitive: typeof import("./5/ToPrimitive");
44 readonly ToPropertyDescriptor: typeof import("./5/ToPropertyDescriptor");
45 readonly ToString: typeof import("./5/ToString");
46 readonly ToUint16: typeof import("./5/ToUint16");
47 readonly ToUint32: typeof import("./5/ToUint32");
48 readonly Type: typeof import("./5/Type");
49 readonly WeekDay: typeof import("./5/WeekDay");
50 readonly YearFromTime: typeof import("./5/YearFromTime");
51}
52
53declare namespace ES5 {
54 type GenericDescriptor = ESGenericDescriptor;
55 type AccessorDescriptor<T = unknown> = ESAccessorDescriptor<T>;
56 type DataDescriptor<T = unknown> = ESDataDescriptor<T>;
57 type PropertyDescriptor<T = unknown> = ESPropertyDescriptor<T>;
58}
59
60declare const ES5: ES5;
61export = ES5;