UNPKG

8.19 kBTypeScriptView Raw
1import ES2015 = require("./es2015");
2
3interface ES2016 {
4 readonly "Abstract Equality Comparison": typeof import("./2016/AbstractEqualityComparison");
5 readonly "Abstract Relational Comparison": typeof import("./2016/AbstractRelationalComparison");
6 readonly "Strict Equality Comparison": typeof import("./2016/StrictEqualityComparison");
7 readonly AdvanceStringIndex: typeof import("./2016/AdvanceStringIndex");
8 readonly ArrayCreate: typeof import("./2016/ArrayCreate");
9 readonly ArraySetLength: typeof import("./2016/ArraySetLength");
10 readonly ArraySpeciesCreate: typeof import("./2016/ArraySpeciesCreate");
11 readonly Call: typeof import("./2016/Call");
12 readonly CanonicalNumericIndexString: typeof import("./2016/CanonicalNumericIndexString");
13 readonly CompletePropertyDescriptor: typeof import("./2016/CompletePropertyDescriptor");
14 readonly CreateDataProperty: typeof import("./2016/CreateDataProperty");
15 readonly CreateDataPropertyOrThrow: typeof import("./2016/CreateDataPropertyOrThrow");
16 readonly CreateHTML: typeof import("./2016/CreateHTML");
17 readonly CreateIterResultObject: typeof import("./2016/CreateIterResultObject");
18 readonly CreateListFromArrayLike: typeof import("./2016/CreateListFromArrayLike");
19 readonly CreateMethodProperty: typeof import("./2016/CreateMethodProperty");
20 readonly DateFromTime: typeof import("./2016/DateFromTime");
21 readonly Day: typeof import("./2016/Day");
22 readonly DayFromYear: typeof import("./2016/DayFromYear");
23 readonly DaysInYear: typeof import("./2016/DaysInYear");
24 readonly DayWithinYear: typeof import("./2016/DayWithinYear");
25 readonly DefinePropertyOrThrow: typeof import("./2016/DefinePropertyOrThrow");
26 readonly DeletePropertyOrThrow: typeof import("./2016/DeletePropertyOrThrow");
27 readonly EnumerableOwnNames: typeof import("./2016/EnumerableOwnNames");
28 readonly FromPropertyDescriptor: typeof import("./2016/FromPropertyDescriptor");
29 readonly Get: typeof import("./2016/Get");
30 readonly GetIterator: typeof import("./2016/GetIterator");
31 readonly GetMethod: typeof import("./2016/GetMethod");
32 readonly GetOwnPropertyKeys: typeof import("./2016/GetOwnPropertyKeys");
33 readonly GetPrototypeFromConstructor: typeof import("./2016/GetPrototypeFromConstructor");
34 readonly GetSubstitution: typeof import("./2016/GetSubstitution");
35 readonly GetV: typeof import("./2016/GetV");
36 readonly HasOwnProperty: typeof import("./2016/HasOwnProperty");
37 readonly HasProperty: typeof import("./2016/HasProperty");
38 readonly HourFromTime: typeof import("./2016/HourFromTime");
39 readonly InLeapYear: typeof import("./2016/InLeapYear");
40 readonly InstanceofOperator: typeof import("./2016/InstanceofOperator");
41 readonly Invoke: typeof import("./2016/Invoke");
42 readonly IsAccessorDescriptor: typeof import("./2016/IsAccessorDescriptor");
43 readonly IsArray: typeof import("./2016/IsArray");
44 readonly IsCallable: typeof import("./2016/IsCallable");
45 readonly IsConcatSpreadable: typeof import("./2016/IsConcatSpreadable");
46 readonly IsConstructor: typeof import("./2016/IsConstructor");
47 readonly IsDataDescriptor: typeof import("./2016/IsDataDescriptor");
48 readonly IsExtensible: typeof import("./2016/IsExtensible");
49 readonly IsGenericDescriptor: typeof import("./2016/IsGenericDescriptor");
50 readonly IsInteger: typeof import("./2016/IsInteger");
51 readonly IsPromise: typeof import("./2016/IsPromise");
52 readonly IsPropertyDescriptor: typeof import("./2016/IsPropertyDescriptor");
53 readonly IsPropertyKey: typeof import("./2016/IsPropertyKey");
54 readonly IsRegExp: typeof import("./2016/IsRegExp");
55 readonly IterableToArrayLike: typeof import("./2016/IterableToArrayLike");
56 readonly IteratorClose: typeof import("./2016/IteratorClose");
57 readonly IteratorComplete: typeof import("./2016/IteratorComplete");
58 readonly IteratorNext: typeof import("./2016/IteratorNext");
59 readonly IteratorStep: typeof import("./2016/IteratorStep");
60 readonly IteratorValue: typeof import("./2016/IteratorValue");
61 readonly MakeDate: typeof import("./2016/MakeDate");
62 readonly MakeDay: typeof import("./2016/MakeDay");
63 readonly MakeTime: typeof import("./2016/MakeTime");
64 readonly MinFromTime: typeof import("./2016/MinFromTime");
65 readonly modulo: typeof import("./2016/modulo");
66 readonly MonthFromTime: typeof import("./2016/MonthFromTime");
67 readonly msFromTime: typeof import("./2016/msFromTime");
68 readonly ObjectCreate: typeof import("./2016/ObjectCreate");
69 readonly OrdinaryDefineOwnProperty: typeof import("./2016/OrdinaryDefineOwnProperty");
70 readonly OrdinaryGetOwnProperty: typeof import("./2016/OrdinaryGetOwnProperty");
71 readonly OrdinaryGetPrototypeOf: typeof import("./2016/OrdinaryGetPrototypeOf");
72 readonly OrdinaryHasInstance: typeof import("./2016/OrdinaryHasInstance");
73 readonly OrdinaryHasProperty: typeof import("./2016/OrdinaryHasProperty");
74 readonly OrdinarySetPrototypeOf: typeof import("./2016/OrdinarySetPrototypeOf");
75 readonly RegExpExec: typeof import("./2016/RegExpExec");
76 readonly RequireObjectCoercible: typeof import("./2016/RequireObjectCoercible");
77 readonly SameValue: typeof import("./2016/SameValue");
78 readonly SameValueNonNumber: typeof import("./2016/SameValueNonNumber");
79 readonly SameValueZero: typeof import("./2016/SameValueZero");
80 readonly SecFromTime: typeof import("./2016/SecFromTime");
81 readonly Set: typeof import("./2016/Set");
82 readonly SetFunctionName: typeof import("./2016/SetFunctionName");
83 readonly SetIntegrityLevel: typeof import("./2016/SetIntegrityLevel");
84 readonly SpeciesConstructor: typeof import("./2016/SpeciesConstructor");
85 readonly SymbolDescriptiveString: typeof import("./2016/SymbolDescriptiveString");
86 readonly TestIntegrityLevel: typeof import("./2016/TestIntegrityLevel");
87 readonly thisBooleanValue: typeof import("./2016/thisBooleanValue");
88 readonly thisNumberValue: typeof import("./2016/thisNumberValue");
89 readonly thisStringValue: typeof import("./2016/thisStringValue");
90 readonly thisTimeValue: typeof import("./2016/thisTimeValue");
91 readonly TimeClip: typeof import("./2016/TimeClip");
92 readonly TimeFromYear: typeof import("./2016/TimeFromYear");
93 readonly TimeWithinDay: typeof import("./2016/TimeWithinDay");
94 readonly ToBoolean: typeof import("./2016/ToBoolean");
95 readonly ToDateString: typeof import("./2016/ToDateString");
96 readonly ToInt16: typeof import("./2016/ToInt16");
97 readonly ToInt32: typeof import("./2016/ToInt32");
98 readonly ToInt8: typeof import("./2016/ToInt8");
99 readonly ToInteger: typeof import("./2016/ToInteger");
100 readonly ToLength: typeof import("./2016/ToLength");
101 readonly ToNumber: typeof import("./2016/ToNumber");
102 readonly ToObject: typeof import("./2016/ToObject");
103 readonly ToPrimitive: typeof import("./2016/ToPrimitive");
104 readonly ToPropertyDescriptor: typeof import("./2016/ToPropertyDescriptor");
105 readonly ToPropertyKey: typeof import("./2016/ToPropertyKey");
106 readonly ToString: typeof import("./2016/ToString");
107 readonly ToUint16: typeof import("./2016/ToUint16");
108 readonly ToUint32: typeof import("./2016/ToUint32");
109 readonly ToUint8: typeof import("./2016/ToUint8");
110 readonly ToUint8Clamp: typeof import("./2016/ToUint8Clamp");
111 readonly Type: typeof import("./2016/Type");
112 readonly ValidateAndApplyPropertyDescriptor: typeof import("./2016/ValidateAndApplyPropertyDescriptor");
113 readonly WeekDay: typeof import("./2016/WeekDay");
114 readonly YearFromTime: typeof import("./2016/YearFromTime");
115}
116
117declare namespace ES2016 {
118 // Re-export types from previous versions
119 // - ES2015:
120 type PropertyKey = ES2015.PropertyKey;
121
122 // - ES5:
123 type GenericDescriptor = ES2015.GenericDescriptor;
124 type AccessorDescriptor<T = unknown> = ES2015.AccessorDescriptor<T>;
125 type DataDescriptor<T = unknown> = ES2015.DataDescriptor<T>;
126 type PropertyDescriptor<T = unknown> = ES2015.PropertyDescriptor<T>;
127}
128
129declare const ES2016: ES2016;
130export = ES2016;