diff --git a/types/es-abstract/2020/AbstractEqualityComparison.d.ts b/types/es-abstract/2020/AbstractEqualityComparison.d.ts new file mode 100644 index 00000000000000..15a7046ac0800b --- /dev/null +++ b/types/es-abstract/2020/AbstractEqualityComparison.d.ts @@ -0,0 +1,2 @@ +import AbstractEqualityComparison = require("../2019/AbstractEqualityComparison"); +export = AbstractEqualityComparison; diff --git a/types/es-abstract/2020/AbstractRelationalComparison.d.ts b/types/es-abstract/2020/AbstractRelationalComparison.d.ts new file mode 100644 index 00000000000000..caab0b8104e644 --- /dev/null +++ b/types/es-abstract/2020/AbstractRelationalComparison.d.ts @@ -0,0 +1,2 @@ +import AbstractRelationalComparison = require("../2019/AbstractRelationalComparison"); +export = AbstractRelationalComparison; diff --git a/types/es-abstract/2020/AddEntriesFromIterable.d.ts b/types/es-abstract/2020/AddEntriesFromIterable.d.ts new file mode 100644 index 00000000000000..07d322b1637df6 --- /dev/null +++ b/types/es-abstract/2020/AddEntriesFromIterable.d.ts @@ -0,0 +1,2 @@ +import AddEntriesFromIterable = require("../2019/AddEntriesFromIterable"); +export = AddEntriesFromIterable; diff --git a/types/es-abstract/2020/AdvanceStringIndex.d.ts b/types/es-abstract/2020/AdvanceStringIndex.d.ts new file mode 100644 index 00000000000000..0973e3ce68faf5 --- /dev/null +++ b/types/es-abstract/2020/AdvanceStringIndex.d.ts @@ -0,0 +1,2 @@ +import AdvanceStringIndex = require("../2019/AdvanceStringIndex"); +export = AdvanceStringIndex; diff --git a/types/es-abstract/2020/ArrayCreate.d.ts b/types/es-abstract/2020/ArrayCreate.d.ts new file mode 100644 index 00000000000000..4f21c1891e2453 --- /dev/null +++ b/types/es-abstract/2020/ArrayCreate.d.ts @@ -0,0 +1,2 @@ +import ArrayCreate = require("../2019/ArrayCreate"); +export = ArrayCreate; diff --git a/types/es-abstract/2020/ArraySetLength.d.ts b/types/es-abstract/2020/ArraySetLength.d.ts new file mode 100644 index 00000000000000..e8a0ffbb52316b --- /dev/null +++ b/types/es-abstract/2020/ArraySetLength.d.ts @@ -0,0 +1,2 @@ +import ArraySetLength = require("../2019/ArraySetLength"); +export = ArraySetLength; diff --git a/types/es-abstract/2020/ArraySpeciesCreate.d.ts b/types/es-abstract/2020/ArraySpeciesCreate.d.ts new file mode 100644 index 00000000000000..300327b1d02d98 --- /dev/null +++ b/types/es-abstract/2020/ArraySpeciesCreate.d.ts @@ -0,0 +1,2 @@ +import ArraySpeciesCreate = require("../2019/ArraySpeciesCreate"); +export = ArraySpeciesCreate; diff --git a/types/es-abstract/2020/BigIntBitwiseOp.d.ts b/types/es-abstract/2020/BigIntBitwiseOp.d.ts new file mode 100644 index 00000000000000..2aabd060218bfb --- /dev/null +++ b/types/es-abstract/2020/BigIntBitwiseOp.d.ts @@ -0,0 +1,2 @@ +declare function BigIntBitwiseOp(op: "&" | "|" | "^", x: bigint, y: bigint): bigint; +export = BigIntBitwiseOp; diff --git a/types/es-abstract/2020/BinaryAnd.d.ts b/types/es-abstract/2020/BinaryAnd.d.ts new file mode 100644 index 00000000000000..a929d1534f43b1 --- /dev/null +++ b/types/es-abstract/2020/BinaryAnd.d.ts @@ -0,0 +1,2 @@ +declare function BinaryAnd(x: 0 | 1, y: 0 | 1): 0 | 1; +export = BinaryAnd; diff --git a/types/es-abstract/2020/BinaryOr.d.ts b/types/es-abstract/2020/BinaryOr.d.ts new file mode 100644 index 00000000000000..5cfc49e134576e --- /dev/null +++ b/types/es-abstract/2020/BinaryOr.d.ts @@ -0,0 +1,2 @@ +declare function BinaryOr(x: 0 | 1, y: 0 | 1): 0 | 1; +export = BinaryOr; diff --git a/types/es-abstract/2020/BinaryXor.d.ts b/types/es-abstract/2020/BinaryXor.d.ts new file mode 100644 index 00000000000000..432f0a3b31fe1b --- /dev/null +++ b/types/es-abstract/2020/BinaryXor.d.ts @@ -0,0 +1,2 @@ +declare function BinaryXor(x: 0 | 1, y: 0 | 1): 0 | 1; +export = BinaryXor; diff --git a/types/es-abstract/2020/Call.d.ts b/types/es-abstract/2020/Call.d.ts new file mode 100644 index 00000000000000..b3a5a51673fe94 --- /dev/null +++ b/types/es-abstract/2020/Call.d.ts @@ -0,0 +1,2 @@ +import Call = require("../2019/Call"); +export = Call; diff --git a/types/es-abstract/2020/CanonicalNumericIndexString.d.ts b/types/es-abstract/2020/CanonicalNumericIndexString.d.ts new file mode 100644 index 00000000000000..f05ef04641d893 --- /dev/null +++ b/types/es-abstract/2020/CanonicalNumericIndexString.d.ts @@ -0,0 +1,2 @@ +import CanonicalNumericIndexString = require("../2019/CanonicalNumericIndexString"); +export = CanonicalNumericIndexString; diff --git a/types/es-abstract/2020/CodePointAt.d.ts b/types/es-abstract/2020/CodePointAt.d.ts new file mode 100644 index 00000000000000..70bbc8627e1283 --- /dev/null +++ b/types/es-abstract/2020/CodePointAt.d.ts @@ -0,0 +1,8 @@ +interface CodePointRecord { + "[[CodePoint]]": string; + "[[CodeUnitCount]]": 1 | 2; + "[[IsUnpairedSurrogate]]": boolean; +} + +declare function CodePointAt(string: string, position: number): CodePointRecord; +export = CodePointAt; diff --git a/types/es-abstract/2020/CompletePropertyDescriptor.d.ts b/types/es-abstract/2020/CompletePropertyDescriptor.d.ts new file mode 100644 index 00000000000000..625ca4e00d1672 --- /dev/null +++ b/types/es-abstract/2020/CompletePropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import CompletePropertyDescriptor = require("../2019/CompletePropertyDescriptor"); +export = CompletePropertyDescriptor; diff --git a/types/es-abstract/2020/CopyDataProperties.d.ts b/types/es-abstract/2020/CopyDataProperties.d.ts new file mode 100644 index 00000000000000..39fdfbe4787185 --- /dev/null +++ b/types/es-abstract/2020/CopyDataProperties.d.ts @@ -0,0 +1,2 @@ +import CopyDataProperties = require("../2019/CopyDataProperties"); +export = CopyDataProperties; diff --git a/types/es-abstract/2020/CreateDataProperty.d.ts b/types/es-abstract/2020/CreateDataProperty.d.ts new file mode 100644 index 00000000000000..cb897ae0f99214 --- /dev/null +++ b/types/es-abstract/2020/CreateDataProperty.d.ts @@ -0,0 +1,2 @@ +import CreateDataProperty = require("../2019/CreateDataProperty"); +export = CreateDataProperty; diff --git a/types/es-abstract/2020/CreateDataPropertyOrThrow.d.ts b/types/es-abstract/2020/CreateDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..63daccfb22ad01 --- /dev/null +++ b/types/es-abstract/2020/CreateDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateDataPropertyOrThrow = require("../2019/CreateDataPropertyOrThrow"); +export = CreateDataPropertyOrThrow; diff --git a/types/es-abstract/2020/CreateHTML.d.ts b/types/es-abstract/2020/CreateHTML.d.ts new file mode 100644 index 00000000000000..14a7bb331602cd --- /dev/null +++ b/types/es-abstract/2020/CreateHTML.d.ts @@ -0,0 +1,2 @@ +import CreateHTML = require("../2019/CreateHTML"); +export = CreateHTML; diff --git a/types/es-abstract/2020/CreateIterResultObject.d.ts b/types/es-abstract/2020/CreateIterResultObject.d.ts new file mode 100644 index 00000000000000..a32a2133306f7b --- /dev/null +++ b/types/es-abstract/2020/CreateIterResultObject.d.ts @@ -0,0 +1,2 @@ +import CreateIterResultObject = require("../2019/CreateIterResultObject"); +export = CreateIterResultObject; diff --git a/types/es-abstract/2020/CreateListFromArrayLike.d.ts b/types/es-abstract/2020/CreateListFromArrayLike.d.ts new file mode 100644 index 00000000000000..0139e06b0eb6cf --- /dev/null +++ b/types/es-abstract/2020/CreateListFromArrayLike.d.ts @@ -0,0 +1,2 @@ +import CreateListFromArrayLike = require("../2019/CreateListFromArrayLike"); +export = CreateListFromArrayLike; diff --git a/types/es-abstract/2020/CreateMethodProperty.d.ts b/types/es-abstract/2020/CreateMethodProperty.d.ts new file mode 100644 index 00000000000000..298d652fac1b7d --- /dev/null +++ b/types/es-abstract/2020/CreateMethodProperty.d.ts @@ -0,0 +1,2 @@ +import CreateMethodProperty = require("../2019/CreateMethodProperty"); +export = CreateMethodProperty; diff --git a/types/es-abstract/2020/CreateRegExpStringIterator.d.ts b/types/es-abstract/2020/CreateRegExpStringIterator.d.ts new file mode 100644 index 00000000000000..57b3d6786d7dcb --- /dev/null +++ b/types/es-abstract/2020/CreateRegExpStringIterator.d.ts @@ -0,0 +1,7 @@ +declare function CreateRegExpStringIterator( + R: RegExp, + S: string, + global: boolean, + fullUnicode: boolean, +): IterableIterator; +export = CreateRegExpStringIterator; diff --git a/types/es-abstract/2020/DateFromTime.d.ts b/types/es-abstract/2020/DateFromTime.d.ts new file mode 100644 index 00000000000000..c233e7edc06ff6 --- /dev/null +++ b/types/es-abstract/2020/DateFromTime.d.ts @@ -0,0 +1,2 @@ +import DateFromTime = require("../2019/DateFromTime"); +export = DateFromTime; diff --git a/types/es-abstract/2020/DateString.d.ts b/types/es-abstract/2020/DateString.d.ts new file mode 100644 index 00000000000000..2f6daa2c09c45c --- /dev/null +++ b/types/es-abstract/2020/DateString.d.ts @@ -0,0 +1,2 @@ +import DateString = require("../2019/DateString"); +export = DateString; diff --git a/types/es-abstract/2020/Day.d.ts b/types/es-abstract/2020/Day.d.ts new file mode 100644 index 00000000000000..ff32536dd58187 --- /dev/null +++ b/types/es-abstract/2020/Day.d.ts @@ -0,0 +1,2 @@ +import Day = require("../2019/Day"); +export = Day; diff --git a/types/es-abstract/2020/DayFromYear.d.ts b/types/es-abstract/2020/DayFromYear.d.ts new file mode 100644 index 00000000000000..bd1953d8af0b27 --- /dev/null +++ b/types/es-abstract/2020/DayFromYear.d.ts @@ -0,0 +1,2 @@ +import DayFromYear = require("../2019/DayFromYear"); +export = DayFromYear; diff --git a/types/es-abstract/2020/DayWithinYear.d.ts b/types/es-abstract/2020/DayWithinYear.d.ts new file mode 100644 index 00000000000000..a68f4527d7e171 --- /dev/null +++ b/types/es-abstract/2020/DayWithinYear.d.ts @@ -0,0 +1,2 @@ +import DayWithinYear = require("../2019/DayWithinYear"); +export = DayWithinYear; diff --git a/types/es-abstract/2020/DaysInYear.d.ts b/types/es-abstract/2020/DaysInYear.d.ts new file mode 100644 index 00000000000000..45757fea773cd8 --- /dev/null +++ b/types/es-abstract/2020/DaysInYear.d.ts @@ -0,0 +1,2 @@ +import DaysInYear = require("../2019/DaysInYear"); +export = DaysInYear; diff --git a/types/es-abstract/2020/DefinePropertyOrThrow.d.ts b/types/es-abstract/2020/DefinePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..960338968043b5 --- /dev/null +++ b/types/es-abstract/2020/DefinePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DefinePropertyOrThrow = require("../2019/DefinePropertyOrThrow"); +export = DefinePropertyOrThrow; diff --git a/types/es-abstract/2020/DeletePropertyOrThrow.d.ts b/types/es-abstract/2020/DeletePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..9a727c3eb7e06d --- /dev/null +++ b/types/es-abstract/2020/DeletePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DeletePropertyOrThrow = require("../2019/DeletePropertyOrThrow"); +export = DeletePropertyOrThrow; diff --git a/types/es-abstract/2020/EnumerableOwnPropertyNames.d.ts b/types/es-abstract/2020/EnumerableOwnPropertyNames.d.ts new file mode 100644 index 00000000000000..607f636b23a27d --- /dev/null +++ b/types/es-abstract/2020/EnumerableOwnPropertyNames.d.ts @@ -0,0 +1,2 @@ +import EnumerableOwnPropertyNames = require("../2019/EnumerableOwnPropertyNames"); +export = EnumerableOwnPropertyNames; diff --git a/types/es-abstract/2020/FlattenIntoArray.d.ts b/types/es-abstract/2020/FlattenIntoArray.d.ts new file mode 100644 index 00000000000000..7bd4cfbd4cb263 --- /dev/null +++ b/types/es-abstract/2020/FlattenIntoArray.d.ts @@ -0,0 +1,2 @@ +import FlattenIntoArray = require("../2019/FlattenIntoArray"); +export = FlattenIntoArray; diff --git a/types/es-abstract/2020/FromPropertyDescriptor.d.ts b/types/es-abstract/2020/FromPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..35082289d8ebb4 --- /dev/null +++ b/types/es-abstract/2020/FromPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import FromPropertyDescriptor = require("../2019/FromPropertyDescriptor"); +export = FromPropertyDescriptor; diff --git a/types/es-abstract/2020/Get.d.ts b/types/es-abstract/2020/Get.d.ts new file mode 100644 index 00000000000000..317e35ddb50446 --- /dev/null +++ b/types/es-abstract/2020/Get.d.ts @@ -0,0 +1,2 @@ +import Get = require("../2019/Get"); +export = Get; diff --git a/types/es-abstract/2020/GetIterator.d.ts b/types/es-abstract/2020/GetIterator.d.ts new file mode 100644 index 00000000000000..16cfef67e5a9ae --- /dev/null +++ b/types/es-abstract/2020/GetIterator.d.ts @@ -0,0 +1,2 @@ +import GetIterator = require("../2019/GetIterator"); +export = GetIterator; diff --git a/types/es-abstract/2020/GetMethod.d.ts b/types/es-abstract/2020/GetMethod.d.ts new file mode 100644 index 00000000000000..907eeeccd53220 --- /dev/null +++ b/types/es-abstract/2020/GetMethod.d.ts @@ -0,0 +1,2 @@ +import GetMethod = require("../2019/GetMethod"); +export = GetMethod; diff --git a/types/es-abstract/2020/GetOwnPropertyKeys.d.ts b/types/es-abstract/2020/GetOwnPropertyKeys.d.ts new file mode 100644 index 00000000000000..3e2bc95f4b6da4 --- /dev/null +++ b/types/es-abstract/2020/GetOwnPropertyKeys.d.ts @@ -0,0 +1,2 @@ +import GetOwnPropertyKeys = require("../2019/GetOwnPropertyKeys"); +export = GetOwnPropertyKeys; diff --git a/types/es-abstract/2020/GetPrototypeFromConstructor.d.ts b/types/es-abstract/2020/GetPrototypeFromConstructor.d.ts new file mode 100644 index 00000000000000..59f5e93a527391 --- /dev/null +++ b/types/es-abstract/2020/GetPrototypeFromConstructor.d.ts @@ -0,0 +1,2 @@ +import GetPrototypeFromConstructor = require("../2019/GetPrototypeFromConstructor"); +export = GetPrototypeFromConstructor; diff --git a/types/es-abstract/2020/GetSubstitution.d.ts b/types/es-abstract/2020/GetSubstitution.d.ts new file mode 100644 index 00000000000000..172db24249f96b --- /dev/null +++ b/types/es-abstract/2020/GetSubstitution.d.ts @@ -0,0 +1,2 @@ +import GetSubstitution = require("../2019/GetSubstitution"); +export = GetSubstitution; diff --git a/types/es-abstract/2020/GetV.d.ts b/types/es-abstract/2020/GetV.d.ts new file mode 100644 index 00000000000000..64d523dcb9dc86 --- /dev/null +++ b/types/es-abstract/2020/GetV.d.ts @@ -0,0 +1,2 @@ +import GetV = require("../2019/GetV"); +export = GetV; diff --git a/types/es-abstract/2020/HasOwnProperty.d.ts b/types/es-abstract/2020/HasOwnProperty.d.ts new file mode 100644 index 00000000000000..809d958584abdc --- /dev/null +++ b/types/es-abstract/2020/HasOwnProperty.d.ts @@ -0,0 +1,2 @@ +import HasOwnProperty = require("../2019/HasOwnProperty"); +export = HasOwnProperty; diff --git a/types/es-abstract/2020/HasProperty.d.ts b/types/es-abstract/2020/HasProperty.d.ts new file mode 100644 index 00000000000000..1940d8a3d01254 --- /dev/null +++ b/types/es-abstract/2020/HasProperty.d.ts @@ -0,0 +1,2 @@ +import HasProperty = require("../2019/HasProperty"); +export = HasProperty; diff --git a/types/es-abstract/2020/HourFromTime.d.ts b/types/es-abstract/2020/HourFromTime.d.ts new file mode 100644 index 00000000000000..61dd9619e32ea3 --- /dev/null +++ b/types/es-abstract/2020/HourFromTime.d.ts @@ -0,0 +1,2 @@ +import HourFromTime = require("../2019/HourFromTime"); +export = HourFromTime; diff --git a/types/es-abstract/2020/InLeapYear.d.ts b/types/es-abstract/2020/InLeapYear.d.ts new file mode 100644 index 00000000000000..dad13bd224924f --- /dev/null +++ b/types/es-abstract/2020/InLeapYear.d.ts @@ -0,0 +1,2 @@ +import InLeapYear = require("../2019/InLeapYear"); +export = InLeapYear; diff --git a/types/es-abstract/2020/InstanceofOperator.d.ts b/types/es-abstract/2020/InstanceofOperator.d.ts new file mode 100644 index 00000000000000..c3aae5f937e0c7 --- /dev/null +++ b/types/es-abstract/2020/InstanceofOperator.d.ts @@ -0,0 +1,2 @@ +import InstanceofOperator = require("../2019/InstanceofOperator"); +export = InstanceofOperator; diff --git a/types/es-abstract/2020/Invoke.d.ts b/types/es-abstract/2020/Invoke.d.ts new file mode 100644 index 00000000000000..fc788e085a5921 --- /dev/null +++ b/types/es-abstract/2020/Invoke.d.ts @@ -0,0 +1,2 @@ +import Invoke = require("../2019/Invoke"); +export = Invoke; diff --git a/types/es-abstract/2020/IsAccessorDescriptor.d.ts b/types/es-abstract/2020/IsAccessorDescriptor.d.ts new file mode 100644 index 00000000000000..5e6a99a025be74 --- /dev/null +++ b/types/es-abstract/2020/IsAccessorDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsAccessorDescriptor = require("../2019/IsAccessorDescriptor"); +export = IsAccessorDescriptor; diff --git a/types/es-abstract/2020/IsArray.d.ts b/types/es-abstract/2020/IsArray.d.ts new file mode 100644 index 00000000000000..a8faa4937755d4 --- /dev/null +++ b/types/es-abstract/2020/IsArray.d.ts @@ -0,0 +1,2 @@ +import IsArray = require("../2019/IsArray"); +export = IsArray; diff --git a/types/es-abstract/2020/IsCallable.d.ts b/types/es-abstract/2020/IsCallable.d.ts new file mode 100644 index 00000000000000..8391a7160ce12d --- /dev/null +++ b/types/es-abstract/2020/IsCallable.d.ts @@ -0,0 +1,2 @@ +import IsCallable = require("../2019/IsCallable"); +export = IsCallable; diff --git a/types/es-abstract/2020/IsConcatSpreadable.d.ts b/types/es-abstract/2020/IsConcatSpreadable.d.ts new file mode 100644 index 00000000000000..239121724a667e --- /dev/null +++ b/types/es-abstract/2020/IsConcatSpreadable.d.ts @@ -0,0 +1,2 @@ +import IsConcatSpreadable = require("../2019/IsConcatSpreadable"); +export = IsConcatSpreadable; diff --git a/types/es-abstract/2020/IsConstructor.d.ts b/types/es-abstract/2020/IsConstructor.d.ts new file mode 100644 index 00000000000000..f5395c71de87f2 --- /dev/null +++ b/types/es-abstract/2020/IsConstructor.d.ts @@ -0,0 +1,2 @@ +import IsConstructor = require("../2019/IsConstructor"); +export = IsConstructor; diff --git a/types/es-abstract/2020/IsDataDescriptor.d.ts b/types/es-abstract/2020/IsDataDescriptor.d.ts new file mode 100644 index 00000000000000..650cba129b97a1 --- /dev/null +++ b/types/es-abstract/2020/IsDataDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsDataDescriptor = require("../2019/IsDataDescriptor"); +export = IsDataDescriptor; diff --git a/types/es-abstract/2020/IsExtensible.d.ts b/types/es-abstract/2020/IsExtensible.d.ts new file mode 100644 index 00000000000000..7a67f7efd441b4 --- /dev/null +++ b/types/es-abstract/2020/IsExtensible.d.ts @@ -0,0 +1,2 @@ +import IsExtensible = require("../2019/IsExtensible"); +export = IsExtensible; diff --git a/types/es-abstract/2020/IsGenericDescriptor.d.ts b/types/es-abstract/2020/IsGenericDescriptor.d.ts new file mode 100644 index 00000000000000..1630f178255443 --- /dev/null +++ b/types/es-abstract/2020/IsGenericDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsGenericDescriptor = require("../2019/IsGenericDescriptor"); +export = IsGenericDescriptor; diff --git a/types/es-abstract/2020/IsInteger.d.ts b/types/es-abstract/2020/IsInteger.d.ts new file mode 100644 index 00000000000000..4081b93d75b7aa --- /dev/null +++ b/types/es-abstract/2020/IsInteger.d.ts @@ -0,0 +1,2 @@ +import IsInteger = require("../2019/IsInteger"); +export = IsInteger; diff --git a/types/es-abstract/2020/IsNonNegativeInteger.d.ts b/types/es-abstract/2020/IsNonNegativeInteger.d.ts new file mode 100644 index 00000000000000..7632e953544785 --- /dev/null +++ b/types/es-abstract/2020/IsNonNegativeInteger.d.ts @@ -0,0 +1,2 @@ +declare function IsNonNegativeInteger(argument: unknown): boolean; +export = IsNonNegativeInteger; diff --git a/types/es-abstract/2020/IsPromise.d.ts b/types/es-abstract/2020/IsPromise.d.ts new file mode 100644 index 00000000000000..1e259c699d8d5c --- /dev/null +++ b/types/es-abstract/2020/IsPromise.d.ts @@ -0,0 +1,2 @@ +import IsPromise = require("../2019/IsPromise"); +export = IsPromise; diff --git a/types/es-abstract/2020/IsPropertyKey.d.ts b/types/es-abstract/2020/IsPropertyKey.d.ts new file mode 100644 index 00000000000000..9c0899a394d551 --- /dev/null +++ b/types/es-abstract/2020/IsPropertyKey.d.ts @@ -0,0 +1,2 @@ +import IsPropertyKey = require("../2019/IsPropertyKey"); +export = IsPropertyKey; diff --git a/types/es-abstract/2020/IsRegExp.d.ts b/types/es-abstract/2020/IsRegExp.d.ts new file mode 100644 index 00000000000000..ed5ec780f95610 --- /dev/null +++ b/types/es-abstract/2020/IsRegExp.d.ts @@ -0,0 +1,2 @@ +import IsRegExp = require("../2019/IsRegExp"); +export = IsRegExp; diff --git a/types/es-abstract/2020/IsStringPrefix.d.ts b/types/es-abstract/2020/IsStringPrefix.d.ts new file mode 100644 index 00000000000000..7b513441765e76 --- /dev/null +++ b/types/es-abstract/2020/IsStringPrefix.d.ts @@ -0,0 +1,2 @@ +import IsStringPrefix = require("../2019/IsStringPrefix"); +export = IsStringPrefix; diff --git a/types/es-abstract/2020/IterableToList.d.ts b/types/es-abstract/2020/IterableToList.d.ts new file mode 100644 index 00000000000000..0b4977fb44debf --- /dev/null +++ b/types/es-abstract/2020/IterableToList.d.ts @@ -0,0 +1,2 @@ +import IterableToList = require("../2019/IterableToList"); +export = IterableToList; diff --git a/types/es-abstract/2020/IteratorClose.d.ts b/types/es-abstract/2020/IteratorClose.d.ts new file mode 100644 index 00000000000000..87607491437011 --- /dev/null +++ b/types/es-abstract/2020/IteratorClose.d.ts @@ -0,0 +1,2 @@ +import IteratorClose = require("../2019/IteratorClose"); +export = IteratorClose; diff --git a/types/es-abstract/2020/IteratorComplete.d.ts b/types/es-abstract/2020/IteratorComplete.d.ts new file mode 100644 index 00000000000000..f24d781029e247 --- /dev/null +++ b/types/es-abstract/2020/IteratorComplete.d.ts @@ -0,0 +1,2 @@ +import IteratorComplete = require("../2019/IteratorComplete"); +export = IteratorComplete; diff --git a/types/es-abstract/2020/IteratorNext.d.ts b/types/es-abstract/2020/IteratorNext.d.ts new file mode 100644 index 00000000000000..443e665779e830 --- /dev/null +++ b/types/es-abstract/2020/IteratorNext.d.ts @@ -0,0 +1,2 @@ +import IteratorNext = require("../2019/IteratorNext"); +export = IteratorNext; diff --git a/types/es-abstract/2020/IteratorStep.d.ts b/types/es-abstract/2020/IteratorStep.d.ts new file mode 100644 index 00000000000000..ac7d5a7e43a551 --- /dev/null +++ b/types/es-abstract/2020/IteratorStep.d.ts @@ -0,0 +1,2 @@ +import IteratorStep = require("../2019/IteratorStep"); +export = IteratorStep; diff --git a/types/es-abstract/2020/IteratorValue.d.ts b/types/es-abstract/2020/IteratorValue.d.ts new file mode 100644 index 00000000000000..2988d41c91b951 --- /dev/null +++ b/types/es-abstract/2020/IteratorValue.d.ts @@ -0,0 +1,2 @@ +import IteratorValue = require("../2019/IteratorValue"); +export = IteratorValue; diff --git a/types/es-abstract/2020/LengthOfArrayLike.d.ts b/types/es-abstract/2020/LengthOfArrayLike.d.ts new file mode 100644 index 00000000000000..92c3dc4a590c0f --- /dev/null +++ b/types/es-abstract/2020/LengthOfArrayLike.d.ts @@ -0,0 +1,2 @@ +declare function LengthOfArrayLike(obj: object): number; +export = LengthOfArrayLike; diff --git a/types/es-abstract/2020/MakeDate.d.ts b/types/es-abstract/2020/MakeDate.d.ts new file mode 100644 index 00000000000000..c09a5567b835f5 --- /dev/null +++ b/types/es-abstract/2020/MakeDate.d.ts @@ -0,0 +1,2 @@ +import MakeDate = require("../2019/MakeDate"); +export = MakeDate; diff --git a/types/es-abstract/2020/MakeDay.d.ts b/types/es-abstract/2020/MakeDay.d.ts new file mode 100644 index 00000000000000..0efbeef6660ea1 --- /dev/null +++ b/types/es-abstract/2020/MakeDay.d.ts @@ -0,0 +1,2 @@ +import MakeDay = require("../2019/MakeDay"); +export = MakeDay; diff --git a/types/es-abstract/2020/MakeTime.d.ts b/types/es-abstract/2020/MakeTime.d.ts new file mode 100644 index 00000000000000..8e0774a8032672 --- /dev/null +++ b/types/es-abstract/2020/MakeTime.d.ts @@ -0,0 +1,2 @@ +import MakeTime = require("../2019/MakeTime"); +export = MakeTime; diff --git a/types/es-abstract/2020/MinFromTime.d.ts b/types/es-abstract/2020/MinFromTime.d.ts new file mode 100644 index 00000000000000..ad967457aea8ef --- /dev/null +++ b/types/es-abstract/2020/MinFromTime.d.ts @@ -0,0 +1,2 @@ +import MinFromTime = require("../2019/MinFromTime"); +export = MinFromTime; diff --git a/types/es-abstract/2020/MonthFromTime.d.ts b/types/es-abstract/2020/MonthFromTime.d.ts new file mode 100644 index 00000000000000..398b84a9edf4d0 --- /dev/null +++ b/types/es-abstract/2020/MonthFromTime.d.ts @@ -0,0 +1,2 @@ +import MonthFromTime = require("../2019/MonthFromTime"); +export = MonthFromTime; diff --git a/types/es-abstract/2020/NumberBitwiseOp.d.ts b/types/es-abstract/2020/NumberBitwiseOp.d.ts new file mode 100644 index 00000000000000..32d9a9f191d95e --- /dev/null +++ b/types/es-abstract/2020/NumberBitwiseOp.d.ts @@ -0,0 +1,2 @@ +declare function NumberBitwiseOp(op: "&" | "|" | "^", x: number, y: number): number; +export = NumberBitwiseOp; diff --git a/types/es-abstract/2020/NumberToBigInt.d.ts b/types/es-abstract/2020/NumberToBigInt.d.ts new file mode 100644 index 00000000000000..82fb76c5ace066 --- /dev/null +++ b/types/es-abstract/2020/NumberToBigInt.d.ts @@ -0,0 +1,2 @@ +declare function NumberToBigInt(number: number): bigint; +export = NumberToBigInt; diff --git a/types/es-abstract/2020/OrdinaryDefineOwnProperty.d.ts b/types/es-abstract/2020/OrdinaryDefineOwnProperty.d.ts new file mode 100644 index 00000000000000..33480fc96c0f46 --- /dev/null +++ b/types/es-abstract/2020/OrdinaryDefineOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryDefineOwnProperty = require("../2019/OrdinaryDefineOwnProperty"); +export = OrdinaryDefineOwnProperty; diff --git a/types/es-abstract/2020/OrdinaryGetOwnProperty.d.ts b/types/es-abstract/2020/OrdinaryGetOwnProperty.d.ts new file mode 100644 index 00000000000000..9d0cadf9cf50f1 --- /dev/null +++ b/types/es-abstract/2020/OrdinaryGetOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetOwnProperty = require("../2019/OrdinaryGetOwnProperty"); +export = OrdinaryGetOwnProperty; diff --git a/types/es-abstract/2020/OrdinaryGetPrototypeOf.d.ts b/types/es-abstract/2020/OrdinaryGetPrototypeOf.d.ts new file mode 100644 index 00000000000000..a584ecc3a7360a --- /dev/null +++ b/types/es-abstract/2020/OrdinaryGetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetPrototypeOf = require("../2019/OrdinaryGetPrototypeOf"); +export = OrdinaryGetPrototypeOf; diff --git a/types/es-abstract/2020/OrdinaryHasInstance.d.ts b/types/es-abstract/2020/OrdinaryHasInstance.d.ts new file mode 100644 index 00000000000000..21a53074c9c816 --- /dev/null +++ b/types/es-abstract/2020/OrdinaryHasInstance.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasInstance = require("../2019/OrdinaryHasInstance"); +export = OrdinaryHasInstance; diff --git a/types/es-abstract/2020/OrdinaryHasProperty.d.ts b/types/es-abstract/2020/OrdinaryHasProperty.d.ts new file mode 100644 index 00000000000000..bc2625df5ed997 --- /dev/null +++ b/types/es-abstract/2020/OrdinaryHasProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasProperty = require("../2019/OrdinaryHasProperty"); +export = OrdinaryHasProperty; diff --git a/types/es-abstract/2020/OrdinaryObjectCreate.d.ts b/types/es-abstract/2020/OrdinaryObjectCreate.d.ts new file mode 100644 index 00000000000000..2a1f6f71865484 --- /dev/null +++ b/types/es-abstract/2020/OrdinaryObjectCreate.d.ts @@ -0,0 +1,5 @@ +declare function OrdinaryObjectCreate

( + proto: P, + additionalInternalSlotsList?: string[], +): P extends null ? object : P; +export = OrdinaryObjectCreate; diff --git a/types/es-abstract/2020/OrdinarySetPrototypeOf.d.ts b/types/es-abstract/2020/OrdinarySetPrototypeOf.d.ts new file mode 100644 index 00000000000000..5e53f2a83f2e64 --- /dev/null +++ b/types/es-abstract/2020/OrdinarySetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinarySetPrototypeOf = require("../2019/OrdinarySetPrototypeOf"); +export = OrdinarySetPrototypeOf; diff --git a/types/es-abstract/2020/PromiseResolve.d.ts b/types/es-abstract/2020/PromiseResolve.d.ts new file mode 100644 index 00000000000000..1c8ed83ec97312 --- /dev/null +++ b/types/es-abstract/2020/PromiseResolve.d.ts @@ -0,0 +1,2 @@ +import PromiseResolve = require("../2019/PromiseResolve"); +export = PromiseResolve; diff --git a/types/es-abstract/2020/RegExpExec.d.ts b/types/es-abstract/2020/RegExpExec.d.ts new file mode 100644 index 00000000000000..91dec551c021bb --- /dev/null +++ b/types/es-abstract/2020/RegExpExec.d.ts @@ -0,0 +1,2 @@ +import RegExpExec = require("../2019/RegExpExec"); +export = RegExpExec; diff --git a/types/es-abstract/2020/RequireObjectCoercible.d.ts b/types/es-abstract/2020/RequireObjectCoercible.d.ts new file mode 100644 index 00000000000000..83ce1f5bd12393 --- /dev/null +++ b/types/es-abstract/2020/RequireObjectCoercible.d.ts @@ -0,0 +1,2 @@ +import RequireObjectCoercible = require("../2019/RequireObjectCoercible"); +export = RequireObjectCoercible; diff --git a/types/es-abstract/2020/SameValue.d.ts b/types/es-abstract/2020/SameValue.d.ts new file mode 100644 index 00000000000000..89344f3e3da7ce --- /dev/null +++ b/types/es-abstract/2020/SameValue.d.ts @@ -0,0 +1,2 @@ +import SameValue = require("../2019/SameValue"); +export = SameValue; diff --git a/types/es-abstract/2020/SameValueNonNumeric.d.ts b/types/es-abstract/2020/SameValueNonNumeric.d.ts new file mode 100644 index 00000000000000..601630fe767411 --- /dev/null +++ b/types/es-abstract/2020/SameValueNonNumeric.d.ts @@ -0,0 +1,2 @@ +declare function SameValueNonNumeric>(x: T, y: T): boolean; +export = SameValueNonNumeric; diff --git a/types/es-abstract/2020/SameValueZero.d.ts b/types/es-abstract/2020/SameValueZero.d.ts new file mode 100644 index 00000000000000..e93efae1655ecb --- /dev/null +++ b/types/es-abstract/2020/SameValueZero.d.ts @@ -0,0 +1,2 @@ +import SameValueZero = require("../2019/SameValueZero"); +export = SameValueZero; diff --git a/types/es-abstract/2020/SecFromTime.d.ts b/types/es-abstract/2020/SecFromTime.d.ts new file mode 100644 index 00000000000000..0400516055b093 --- /dev/null +++ b/types/es-abstract/2020/SecFromTime.d.ts @@ -0,0 +1,2 @@ +import SecFromTime = require("../2019/SecFromTime"); +export = SecFromTime; diff --git a/types/es-abstract/2020/Set.d.ts b/types/es-abstract/2020/Set.d.ts new file mode 100644 index 00000000000000..318048726aa823 --- /dev/null +++ b/types/es-abstract/2020/Set.d.ts @@ -0,0 +1,2 @@ +import Set = require("../2019/Set"); +export = Set; diff --git a/types/es-abstract/2020/SetFunctionName.d.ts b/types/es-abstract/2020/SetFunctionName.d.ts new file mode 100644 index 00000000000000..d5ab51797fe885 --- /dev/null +++ b/types/es-abstract/2020/SetFunctionName.d.ts @@ -0,0 +1,2 @@ +import SetFunctionName = require("../2019/SetFunctionName"); +export = SetFunctionName; diff --git a/types/es-abstract/2020/SetIntegrityLevel.d.ts b/types/es-abstract/2020/SetIntegrityLevel.d.ts new file mode 100644 index 00000000000000..3275240fc26d58 --- /dev/null +++ b/types/es-abstract/2020/SetIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import SetIntegrityLevel = require("../2019/SetIntegrityLevel"); +export = SetIntegrityLevel; diff --git a/types/es-abstract/2020/SpeciesConstructor.d.ts b/types/es-abstract/2020/SpeciesConstructor.d.ts new file mode 100644 index 00000000000000..b90d8668696189 --- /dev/null +++ b/types/es-abstract/2020/SpeciesConstructor.d.ts @@ -0,0 +1,2 @@ +import SpeciesConstructor = require("../2019/SpeciesConstructor"); +export = SpeciesConstructor; diff --git a/types/es-abstract/2020/StrictEqualityComparison.d.ts b/types/es-abstract/2020/StrictEqualityComparison.d.ts new file mode 100644 index 00000000000000..5617854c4f1bb2 --- /dev/null +++ b/types/es-abstract/2020/StrictEqualityComparison.d.ts @@ -0,0 +1,2 @@ +import StrictEqualityComparison = require("../2019/StrictEqualityComparison"); +export = StrictEqualityComparison; diff --git a/types/es-abstract/2020/StringPad.d.ts b/types/es-abstract/2020/StringPad.d.ts new file mode 100644 index 00000000000000..837bd8a1f9f130 --- /dev/null +++ b/types/es-abstract/2020/StringPad.d.ts @@ -0,0 +1,7 @@ +declare function StringPad( + O: string, + maxLength: number, + fillString: string | undefined, + placement: "start" | "end", +): string; +export = StringPad; diff --git a/types/es-abstract/2020/StringToBigInt.d.ts b/types/es-abstract/2020/StringToBigInt.d.ts new file mode 100644 index 00000000000000..77a55d87e9ce40 --- /dev/null +++ b/types/es-abstract/2020/StringToBigInt.d.ts @@ -0,0 +1,2 @@ +declare function StringToBigInt(argument: string): bigint | typeof NaN; +export = StringToBigInt; diff --git a/types/es-abstract/2020/SymbolDescriptiveString.d.ts b/types/es-abstract/2020/SymbolDescriptiveString.d.ts new file mode 100644 index 00000000000000..f6edcedd03e24c --- /dev/null +++ b/types/es-abstract/2020/SymbolDescriptiveString.d.ts @@ -0,0 +1,2 @@ +import SymbolDescriptiveString = require("../2019/SymbolDescriptiveString"); +export = SymbolDescriptiveString; diff --git a/types/es-abstract/2020/TestIntegrityLevel.d.ts b/types/es-abstract/2020/TestIntegrityLevel.d.ts new file mode 100644 index 00000000000000..e55edcd5c136d1 --- /dev/null +++ b/types/es-abstract/2020/TestIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import TestIntegrityLevel = require("../2019/TestIntegrityLevel"); +export = TestIntegrityLevel; diff --git a/types/es-abstract/2020/TimeClip.d.ts b/types/es-abstract/2020/TimeClip.d.ts new file mode 100644 index 00000000000000..2c024c09293f8c --- /dev/null +++ b/types/es-abstract/2020/TimeClip.d.ts @@ -0,0 +1,2 @@ +import TimeClip = require("../2019/TimeClip"); +export = TimeClip; diff --git a/types/es-abstract/2020/TimeFromYear.d.ts b/types/es-abstract/2020/TimeFromYear.d.ts new file mode 100644 index 00000000000000..1455ecebf6b50a --- /dev/null +++ b/types/es-abstract/2020/TimeFromYear.d.ts @@ -0,0 +1,2 @@ +import TimeFromYear = require("../2019/TimeFromYear"); +export = TimeFromYear; diff --git a/types/es-abstract/2020/TimeString.d.ts b/types/es-abstract/2020/TimeString.d.ts new file mode 100644 index 00000000000000..e358cc09c2bce7 --- /dev/null +++ b/types/es-abstract/2020/TimeString.d.ts @@ -0,0 +1,2 @@ +import TimeString = require("../2019/TimeString"); +export = TimeString; diff --git a/types/es-abstract/2020/TimeWithinDay.d.ts b/types/es-abstract/2020/TimeWithinDay.d.ts new file mode 100644 index 00000000000000..57b23f9ae9cbaa --- /dev/null +++ b/types/es-abstract/2020/TimeWithinDay.d.ts @@ -0,0 +1,2 @@ +import TimeWithinDay = require("../2019/TimeWithinDay"); +export = TimeWithinDay; diff --git a/types/es-abstract/2020/ToBigInt.d.ts b/types/es-abstract/2020/ToBigInt.d.ts new file mode 100644 index 00000000000000..8e2ebf39ac1aff --- /dev/null +++ b/types/es-abstract/2020/ToBigInt.d.ts @@ -0,0 +1,2 @@ +declare function ToBigInt(argument: unknown): bigint; +export = ToBigInt; diff --git a/types/es-abstract/2020/ToBigInt64.d.ts b/types/es-abstract/2020/ToBigInt64.d.ts new file mode 100644 index 00000000000000..8d8934655ba71a --- /dev/null +++ b/types/es-abstract/2020/ToBigInt64.d.ts @@ -0,0 +1,2 @@ +declare function ToBigInt64(argument: bigint): bigint; +export = ToBigInt64; diff --git a/types/es-abstract/2020/ToBigUint64.d.ts b/types/es-abstract/2020/ToBigUint64.d.ts new file mode 100644 index 00000000000000..e4868393ae38b7 --- /dev/null +++ b/types/es-abstract/2020/ToBigUint64.d.ts @@ -0,0 +1,2 @@ +declare function ToBigUint64(argument: bigint): bigint; +export = ToBigUint64; diff --git a/types/es-abstract/2020/ToBoolean.d.ts b/types/es-abstract/2020/ToBoolean.d.ts new file mode 100644 index 00000000000000..6876376738c3bc --- /dev/null +++ b/types/es-abstract/2020/ToBoolean.d.ts @@ -0,0 +1,2 @@ +import ToBoolean = require("../2019/ToBoolean"); +export = ToBoolean; diff --git a/types/es-abstract/2020/ToDateString.d.ts b/types/es-abstract/2020/ToDateString.d.ts new file mode 100644 index 00000000000000..045dc5a3a701ee --- /dev/null +++ b/types/es-abstract/2020/ToDateString.d.ts @@ -0,0 +1,2 @@ +import ToDateString = require("../2019/ToDateString"); +export = ToDateString; diff --git a/types/es-abstract/2020/ToIndex.d.ts b/types/es-abstract/2020/ToIndex.d.ts new file mode 100644 index 00000000000000..2c25eb6d31c3e4 --- /dev/null +++ b/types/es-abstract/2020/ToIndex.d.ts @@ -0,0 +1,2 @@ +import ToIndex = require("../2019/ToIndex"); +export = ToIndex; diff --git a/types/es-abstract/2020/ToInt16.d.ts b/types/es-abstract/2020/ToInt16.d.ts new file mode 100644 index 00000000000000..2156cc449875bb --- /dev/null +++ b/types/es-abstract/2020/ToInt16.d.ts @@ -0,0 +1,2 @@ +import ToInt16 = require("../2019/ToInt16"); +export = ToInt16; diff --git a/types/es-abstract/2020/ToInt32.d.ts b/types/es-abstract/2020/ToInt32.d.ts new file mode 100644 index 00000000000000..4ea1e7cb05de4e --- /dev/null +++ b/types/es-abstract/2020/ToInt32.d.ts @@ -0,0 +1,2 @@ +import ToInt32 = require("../2019/ToInt32"); +export = ToInt32; diff --git a/types/es-abstract/2020/ToInt8.d.ts b/types/es-abstract/2020/ToInt8.d.ts new file mode 100644 index 00000000000000..664a1bbab1db8a --- /dev/null +++ b/types/es-abstract/2020/ToInt8.d.ts @@ -0,0 +1,2 @@ +import ToInt8 = require("../2019/ToInt8"); +export = ToInt8; diff --git a/types/es-abstract/2020/ToInteger.d.ts b/types/es-abstract/2020/ToInteger.d.ts new file mode 100644 index 00000000000000..a0f55d594df8fa --- /dev/null +++ b/types/es-abstract/2020/ToInteger.d.ts @@ -0,0 +1,2 @@ +import ToInteger = require("../2019/ToInteger"); +export = ToInteger; diff --git a/types/es-abstract/2020/ToLength.d.ts b/types/es-abstract/2020/ToLength.d.ts new file mode 100644 index 00000000000000..2707e11d5f69b8 --- /dev/null +++ b/types/es-abstract/2020/ToLength.d.ts @@ -0,0 +1,2 @@ +import ToLength = require("../2019/ToLength"); +export = ToLength; diff --git a/types/es-abstract/2020/ToNumber.d.ts b/types/es-abstract/2020/ToNumber.d.ts new file mode 100644 index 00000000000000..ee50dda1a6e115 --- /dev/null +++ b/types/es-abstract/2020/ToNumber.d.ts @@ -0,0 +1,2 @@ +import ToNumber = require("../2019/ToNumber"); +export = ToNumber; diff --git a/types/es-abstract/2020/ToNumeric.d.ts b/types/es-abstract/2020/ToNumeric.d.ts new file mode 100644 index 00000000000000..00b5fb9d1ecf8a --- /dev/null +++ b/types/es-abstract/2020/ToNumeric.d.ts @@ -0,0 +1,2 @@ +declare function ToNumeric(argument: unknown): number | bigint; +export = ToNumeric; diff --git a/types/es-abstract/2020/ToObject.d.ts b/types/es-abstract/2020/ToObject.d.ts new file mode 100644 index 00000000000000..a9c4821b62ff23 --- /dev/null +++ b/types/es-abstract/2020/ToObject.d.ts @@ -0,0 +1,2 @@ +import ToObject = require("../2019/ToObject"); +export = ToObject; diff --git a/types/es-abstract/2020/ToPrimitive.d.ts b/types/es-abstract/2020/ToPrimitive.d.ts new file mode 100644 index 00000000000000..03dc34882cbe69 --- /dev/null +++ b/types/es-abstract/2020/ToPrimitive.d.ts @@ -0,0 +1,2 @@ +import ToPrimitive = require("../2019/ToPrimitive"); +export = ToPrimitive; diff --git a/types/es-abstract/2020/ToPropertyDescriptor.d.ts b/types/es-abstract/2020/ToPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..78d64262c5417c --- /dev/null +++ b/types/es-abstract/2020/ToPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ToPropertyDescriptor = require("../2019/ToPropertyDescriptor"); +export = ToPropertyDescriptor; diff --git a/types/es-abstract/2020/ToPropertyKey.d.ts b/types/es-abstract/2020/ToPropertyKey.d.ts new file mode 100644 index 00000000000000..17a9fdd3a2ddf6 --- /dev/null +++ b/types/es-abstract/2020/ToPropertyKey.d.ts @@ -0,0 +1,2 @@ +import ToPropertyKey = require("../2019/ToPropertyKey"); +export = ToPropertyKey; diff --git a/types/es-abstract/2020/ToString.d.ts b/types/es-abstract/2020/ToString.d.ts new file mode 100644 index 00000000000000..f49a6083bf09cf --- /dev/null +++ b/types/es-abstract/2020/ToString.d.ts @@ -0,0 +1,2 @@ +import ToString = require("../2019/ToString"); +export = ToString; diff --git a/types/es-abstract/2020/ToUint16.d.ts b/types/es-abstract/2020/ToUint16.d.ts new file mode 100644 index 00000000000000..daa8f113934fea --- /dev/null +++ b/types/es-abstract/2020/ToUint16.d.ts @@ -0,0 +1,2 @@ +import ToUint16 = require("../2019/ToUint16"); +export = ToUint16; diff --git a/types/es-abstract/2020/ToUint32.d.ts b/types/es-abstract/2020/ToUint32.d.ts new file mode 100644 index 00000000000000..fb25163e7218c9 --- /dev/null +++ b/types/es-abstract/2020/ToUint32.d.ts @@ -0,0 +1,2 @@ +import ToUint32 = require("../2019/ToUint32"); +export = ToUint32; diff --git a/types/es-abstract/2020/ToUint8.d.ts b/types/es-abstract/2020/ToUint8.d.ts new file mode 100644 index 00000000000000..10723df1dad352 --- /dev/null +++ b/types/es-abstract/2020/ToUint8.d.ts @@ -0,0 +1,2 @@ +import ToUint8 = require("../2019/ToUint8"); +export = ToUint8; diff --git a/types/es-abstract/2020/ToUint8Clamp.d.ts b/types/es-abstract/2020/ToUint8Clamp.d.ts new file mode 100644 index 00000000000000..1c05a97c18faac --- /dev/null +++ b/types/es-abstract/2020/ToUint8Clamp.d.ts @@ -0,0 +1,2 @@ +import ToUint8Clamp = require("../2019/ToUint8Clamp"); +export = ToUint8Clamp; diff --git a/types/es-abstract/2020/TrimString.d.ts b/types/es-abstract/2020/TrimString.d.ts new file mode 100644 index 00000000000000..5df0c5ec82e036 --- /dev/null +++ b/types/es-abstract/2020/TrimString.d.ts @@ -0,0 +1,2 @@ +import TrimString = require("../2019/TrimString"); +export = TrimString; diff --git a/types/es-abstract/2020/Type.d.ts b/types/es-abstract/2020/Type.d.ts new file mode 100644 index 00000000000000..a58515ca0d096d --- /dev/null +++ b/types/es-abstract/2020/Type.d.ts @@ -0,0 +1,2 @@ +import Type = require("../2019/Type"); +export = Type; diff --git a/types/es-abstract/2020/UTF16DecodeString.d.ts b/types/es-abstract/2020/UTF16DecodeString.d.ts new file mode 100644 index 00000000000000..3182dc1ff61b3a --- /dev/null +++ b/types/es-abstract/2020/UTF16DecodeString.d.ts @@ -0,0 +1,2 @@ +declare function UTF16DecodeString(string: string): string[]; +export = UTF16DecodeString; diff --git a/types/es-abstract/2020/UTF16DecodeSurrogatePair.d.ts b/types/es-abstract/2020/UTF16DecodeSurrogatePair.d.ts new file mode 100644 index 00000000000000..7aa163fccc0765 --- /dev/null +++ b/types/es-abstract/2020/UTF16DecodeSurrogatePair.d.ts @@ -0,0 +1,2 @@ +declare function UTF16DecodeSurrogatePair(lead: number, trail: number): string; +export = UTF16DecodeSurrogatePair; diff --git a/types/es-abstract/2020/ValidateAndApplyPropertyDescriptor.d.ts b/types/es-abstract/2020/ValidateAndApplyPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..3dcfcc57cac7d8 --- /dev/null +++ b/types/es-abstract/2020/ValidateAndApplyPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ValidateAndApplyPropertyDescriptor = require("../2019/ValidateAndApplyPropertyDescriptor"); +export = ValidateAndApplyPropertyDescriptor; diff --git a/types/es-abstract/2020/WeekDay.d.ts b/types/es-abstract/2020/WeekDay.d.ts new file mode 100644 index 00000000000000..3ea85ad82661d3 --- /dev/null +++ b/types/es-abstract/2020/WeekDay.d.ts @@ -0,0 +1,2 @@ +import WeekDay = require("../2019/WeekDay"); +export = WeekDay; diff --git a/types/es-abstract/2020/YearFromTime.d.ts b/types/es-abstract/2020/YearFromTime.d.ts new file mode 100644 index 00000000000000..e4671e51c4d8b0 --- /dev/null +++ b/types/es-abstract/2020/YearFromTime.d.ts @@ -0,0 +1,2 @@ +import YearFromTime = require("../2019/YearFromTime"); +export = YearFromTime; diff --git a/types/es-abstract/2020/modulo.d.ts b/types/es-abstract/2020/modulo.d.ts new file mode 100644 index 00000000000000..54416d7a55b4b9 --- /dev/null +++ b/types/es-abstract/2020/modulo.d.ts @@ -0,0 +1,2 @@ +import modulo = require("../2019/modulo"); +export = modulo; diff --git a/types/es-abstract/2020/msFromTime.d.ts b/types/es-abstract/2020/msFromTime.d.ts new file mode 100644 index 00000000000000..fc624c118c766d --- /dev/null +++ b/types/es-abstract/2020/msFromTime.d.ts @@ -0,0 +1,2 @@ +import msFromTime = require("../2019/msFromTime"); +export = msFromTime; diff --git a/types/es-abstract/2020/thisBigIntValue.d.ts b/types/es-abstract/2020/thisBigIntValue.d.ts new file mode 100644 index 00000000000000..9c909390bfb6ea --- /dev/null +++ b/types/es-abstract/2020/thisBigIntValue.d.ts @@ -0,0 +1,2 @@ +declare function thisBigIntValue(value: bigint | BigInt): bigint; +export = thisBigIntValue; diff --git a/types/es-abstract/2020/thisBooleanValue.d.ts b/types/es-abstract/2020/thisBooleanValue.d.ts new file mode 100644 index 00000000000000..116857f08c0c0d --- /dev/null +++ b/types/es-abstract/2020/thisBooleanValue.d.ts @@ -0,0 +1,2 @@ +import thisBooleanValue = require("../2019/thisBooleanValue"); +export = thisBooleanValue; diff --git a/types/es-abstract/2020/thisNumberValue.d.ts b/types/es-abstract/2020/thisNumberValue.d.ts new file mode 100644 index 00000000000000..8716a693cdd312 --- /dev/null +++ b/types/es-abstract/2020/thisNumberValue.d.ts @@ -0,0 +1,2 @@ +import thisNumberValue = require("../2019/thisNumberValue"); +export = thisNumberValue; diff --git a/types/es-abstract/2020/thisStringValue.d.ts b/types/es-abstract/2020/thisStringValue.d.ts new file mode 100644 index 00000000000000..4b415750134376 --- /dev/null +++ b/types/es-abstract/2020/thisStringValue.d.ts @@ -0,0 +1,2 @@ +import thisStringValue = require("../2019/thisStringValue"); +export = thisStringValue; diff --git a/types/es-abstract/2020/thisSymbolValue.d.ts b/types/es-abstract/2020/thisSymbolValue.d.ts new file mode 100644 index 00000000000000..03ec99cb6a1c3d --- /dev/null +++ b/types/es-abstract/2020/thisSymbolValue.d.ts @@ -0,0 +1,2 @@ +import thisSymbolValue = require("../2019/thisSymbolValue"); +export = thisSymbolValue; diff --git a/types/es-abstract/2020/thisTimeValue.d.ts b/types/es-abstract/2020/thisTimeValue.d.ts new file mode 100644 index 00000000000000..ed0267d8f159e1 --- /dev/null +++ b/types/es-abstract/2020/thisTimeValue.d.ts @@ -0,0 +1,2 @@ +import thisTimeValue = require("../2019/thisTimeValue"); +export = thisTimeValue; diff --git a/types/es-abstract/2021/AbstractEqualityComparison.d.ts b/types/es-abstract/2021/AbstractEqualityComparison.d.ts new file mode 100644 index 00000000000000..8deec5fadf8724 --- /dev/null +++ b/types/es-abstract/2021/AbstractEqualityComparison.d.ts @@ -0,0 +1,2 @@ +import AbstractEqualityComparison = require("../2020/AbstractEqualityComparison"); +export = AbstractEqualityComparison; diff --git a/types/es-abstract/2021/AbstractRelationalComparison.d.ts b/types/es-abstract/2021/AbstractRelationalComparison.d.ts new file mode 100644 index 00000000000000..348e94279e3a00 --- /dev/null +++ b/types/es-abstract/2021/AbstractRelationalComparison.d.ts @@ -0,0 +1,2 @@ +import AbstractRelationalComparison = require("../2020/AbstractRelationalComparison"); +export = AbstractRelationalComparison; diff --git a/types/es-abstract/2021/AddEntriesFromIterable.d.ts b/types/es-abstract/2021/AddEntriesFromIterable.d.ts new file mode 100644 index 00000000000000..6cb1ba49a9e4aa --- /dev/null +++ b/types/es-abstract/2021/AddEntriesFromIterable.d.ts @@ -0,0 +1,2 @@ +import AddEntriesFromIterable = require("../2020/AddEntriesFromIterable"); +export = AddEntriesFromIterable; diff --git a/types/es-abstract/2021/AdvanceStringIndex.d.ts b/types/es-abstract/2021/AdvanceStringIndex.d.ts new file mode 100644 index 00000000000000..25ddcd11560535 --- /dev/null +++ b/types/es-abstract/2021/AdvanceStringIndex.d.ts @@ -0,0 +1,2 @@ +import AdvanceStringIndex = require("../2020/AdvanceStringIndex"); +export = AdvanceStringIndex; diff --git a/types/es-abstract/2021/ArrayCreate.d.ts b/types/es-abstract/2021/ArrayCreate.d.ts new file mode 100644 index 00000000000000..006cfae3bd9924 --- /dev/null +++ b/types/es-abstract/2021/ArrayCreate.d.ts @@ -0,0 +1,2 @@ +import ArrayCreate = require("../2020/ArrayCreate"); +export = ArrayCreate; diff --git a/types/es-abstract/2021/ArraySetLength.d.ts b/types/es-abstract/2021/ArraySetLength.d.ts new file mode 100644 index 00000000000000..5518ed2abc4432 --- /dev/null +++ b/types/es-abstract/2021/ArraySetLength.d.ts @@ -0,0 +1,2 @@ +import ArraySetLength = require("../2020/ArraySetLength"); +export = ArraySetLength; diff --git a/types/es-abstract/2021/ArraySpeciesCreate.d.ts b/types/es-abstract/2021/ArraySpeciesCreate.d.ts new file mode 100644 index 00000000000000..6a6495d4dd3d4f --- /dev/null +++ b/types/es-abstract/2021/ArraySpeciesCreate.d.ts @@ -0,0 +1,2 @@ +import ArraySpeciesCreate = require("../2020/ArraySpeciesCreate"); +export = ArraySpeciesCreate; diff --git a/types/es-abstract/2021/BigIntBitwiseOp.d.ts b/types/es-abstract/2021/BigIntBitwiseOp.d.ts new file mode 100644 index 00000000000000..6021485bb58c0d --- /dev/null +++ b/types/es-abstract/2021/BigIntBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import BigIntBitwiseOp = require("../2020/BigIntBitwiseOp"); +export = BigIntBitwiseOp; diff --git a/types/es-abstract/2021/BinaryAnd.d.ts b/types/es-abstract/2021/BinaryAnd.d.ts new file mode 100644 index 00000000000000..756a6d182b3773 --- /dev/null +++ b/types/es-abstract/2021/BinaryAnd.d.ts @@ -0,0 +1,2 @@ +import BinaryAnd = require("../2020/BinaryAnd"); +export = BinaryAnd; diff --git a/types/es-abstract/2021/BinaryOr.d.ts b/types/es-abstract/2021/BinaryOr.d.ts new file mode 100644 index 00000000000000..38786adc783a66 --- /dev/null +++ b/types/es-abstract/2021/BinaryOr.d.ts @@ -0,0 +1,2 @@ +import BinaryOr = require("../2020/BinaryOr"); +export = BinaryOr; diff --git a/types/es-abstract/2021/BinaryXor.d.ts b/types/es-abstract/2021/BinaryXor.d.ts new file mode 100644 index 00000000000000..a1235593dd363c --- /dev/null +++ b/types/es-abstract/2021/BinaryXor.d.ts @@ -0,0 +1,2 @@ +import BinaryXor = require("../2020/BinaryXor"); +export = BinaryXor; diff --git a/types/es-abstract/2021/Call.d.ts b/types/es-abstract/2021/Call.d.ts new file mode 100644 index 00000000000000..73008f437c9a87 --- /dev/null +++ b/types/es-abstract/2021/Call.d.ts @@ -0,0 +1,2 @@ +import Call = require("../2020/Call"); +export = Call; diff --git a/types/es-abstract/2021/CanonicalNumericIndexString.d.ts b/types/es-abstract/2021/CanonicalNumericIndexString.d.ts new file mode 100644 index 00000000000000..68ed4898a1aea7 --- /dev/null +++ b/types/es-abstract/2021/CanonicalNumericIndexString.d.ts @@ -0,0 +1,2 @@ +import CanonicalNumericIndexString = require("../2020/CanonicalNumericIndexString"); +export = CanonicalNumericIndexString; diff --git a/types/es-abstract/2021/CodePointAt.d.ts b/types/es-abstract/2021/CodePointAt.d.ts new file mode 100644 index 00000000000000..0941867dd03c95 --- /dev/null +++ b/types/es-abstract/2021/CodePointAt.d.ts @@ -0,0 +1,2 @@ +import CodePointAt = require("../2020/CodePointAt"); +export = CodePointAt; diff --git a/types/es-abstract/2021/CodePointsToString.d.ts b/types/es-abstract/2021/CodePointsToString.d.ts new file mode 100644 index 00000000000000..d437768a5db538 --- /dev/null +++ b/types/es-abstract/2021/CodePointsToString.d.ts @@ -0,0 +1,2 @@ +declare function CodePointsToString(codePoints: readonly string[]): string; +export = CodePointsToString; diff --git a/types/es-abstract/2021/CompletePropertyDescriptor.d.ts b/types/es-abstract/2021/CompletePropertyDescriptor.d.ts new file mode 100644 index 00000000000000..2e8dcf56664d22 --- /dev/null +++ b/types/es-abstract/2021/CompletePropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import CompletePropertyDescriptor = require("../2020/CompletePropertyDescriptor"); +export = CompletePropertyDescriptor; diff --git a/types/es-abstract/2021/CopyDataProperties.d.ts b/types/es-abstract/2021/CopyDataProperties.d.ts new file mode 100644 index 00000000000000..f786994e710f84 --- /dev/null +++ b/types/es-abstract/2021/CopyDataProperties.d.ts @@ -0,0 +1,2 @@ +import CopyDataProperties = require("../2020/CopyDataProperties"); +export = CopyDataProperties; diff --git a/types/es-abstract/2021/CreateDataProperty.d.ts b/types/es-abstract/2021/CreateDataProperty.d.ts new file mode 100644 index 00000000000000..2d64782ef0d340 --- /dev/null +++ b/types/es-abstract/2021/CreateDataProperty.d.ts @@ -0,0 +1,2 @@ +import CreateDataProperty = require("../2020/CreateDataProperty"); +export = CreateDataProperty; diff --git a/types/es-abstract/2021/CreateDataPropertyOrThrow.d.ts b/types/es-abstract/2021/CreateDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..eaaa63eccbae61 --- /dev/null +++ b/types/es-abstract/2021/CreateDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateDataPropertyOrThrow = require("../2020/CreateDataPropertyOrThrow"); +export = CreateDataPropertyOrThrow; diff --git a/types/es-abstract/2021/CreateHTML.d.ts b/types/es-abstract/2021/CreateHTML.d.ts new file mode 100644 index 00000000000000..2e7ce21c8cb19d --- /dev/null +++ b/types/es-abstract/2021/CreateHTML.d.ts @@ -0,0 +1,2 @@ +import CreateHTML = require("../2020/CreateHTML"); +export = CreateHTML; diff --git a/types/es-abstract/2021/CreateIterResultObject.d.ts b/types/es-abstract/2021/CreateIterResultObject.d.ts new file mode 100644 index 00000000000000..0d5f9f83aeafb5 --- /dev/null +++ b/types/es-abstract/2021/CreateIterResultObject.d.ts @@ -0,0 +1,2 @@ +import CreateIterResultObject = require("../2020/CreateIterResultObject"); +export = CreateIterResultObject; diff --git a/types/es-abstract/2021/CreateListFromArrayLike.d.ts b/types/es-abstract/2021/CreateListFromArrayLike.d.ts new file mode 100644 index 00000000000000..8e2481d6727af7 --- /dev/null +++ b/types/es-abstract/2021/CreateListFromArrayLike.d.ts @@ -0,0 +1,2 @@ +import CreateListFromArrayLike = require("../2020/CreateListFromArrayLike"); +export = CreateListFromArrayLike; diff --git a/types/es-abstract/2021/CreateMethodProperty.d.ts b/types/es-abstract/2021/CreateMethodProperty.d.ts new file mode 100644 index 00000000000000..e4ad4ed20f85ad --- /dev/null +++ b/types/es-abstract/2021/CreateMethodProperty.d.ts @@ -0,0 +1,2 @@ +import CreateMethodProperty = require("../2020/CreateMethodProperty"); +export = CreateMethodProperty; diff --git a/types/es-abstract/2021/CreateRegExpStringIterator.d.ts b/types/es-abstract/2021/CreateRegExpStringIterator.d.ts new file mode 100644 index 00000000000000..39a219c6622d47 --- /dev/null +++ b/types/es-abstract/2021/CreateRegExpStringIterator.d.ts @@ -0,0 +1,2 @@ +import CreateRegExpStringIterator = require("../2020/CreateRegExpStringIterator"); +export = CreateRegExpStringIterator; diff --git a/types/es-abstract/2021/DateFromTime.d.ts b/types/es-abstract/2021/DateFromTime.d.ts new file mode 100644 index 00000000000000..5d442262a39cd9 --- /dev/null +++ b/types/es-abstract/2021/DateFromTime.d.ts @@ -0,0 +1,2 @@ +import DateFromTime = require("../2020/DateFromTime"); +export = DateFromTime; diff --git a/types/es-abstract/2021/DateString.d.ts b/types/es-abstract/2021/DateString.d.ts new file mode 100644 index 00000000000000..1f6ddaf183d2f4 --- /dev/null +++ b/types/es-abstract/2021/DateString.d.ts @@ -0,0 +1,2 @@ +import DateString = require("../2020/DateString"); +export = DateString; diff --git a/types/es-abstract/2021/Day.d.ts b/types/es-abstract/2021/Day.d.ts new file mode 100644 index 00000000000000..d6ae2c1dd9b85c --- /dev/null +++ b/types/es-abstract/2021/Day.d.ts @@ -0,0 +1,2 @@ +import Day = require("../2020/Day"); +export = Day; diff --git a/types/es-abstract/2021/DayFromYear.d.ts b/types/es-abstract/2021/DayFromYear.d.ts new file mode 100644 index 00000000000000..408a3e87b120ec --- /dev/null +++ b/types/es-abstract/2021/DayFromYear.d.ts @@ -0,0 +1,2 @@ +import DayFromYear = require("../2020/DayFromYear"); +export = DayFromYear; diff --git a/types/es-abstract/2021/DayWithinYear.d.ts b/types/es-abstract/2021/DayWithinYear.d.ts new file mode 100644 index 00000000000000..e660c3c5ef2a1d --- /dev/null +++ b/types/es-abstract/2021/DayWithinYear.d.ts @@ -0,0 +1,2 @@ +import DayWithinYear = require("../2020/DayWithinYear"); +export = DayWithinYear; diff --git a/types/es-abstract/2021/DaysInYear.d.ts b/types/es-abstract/2021/DaysInYear.d.ts new file mode 100644 index 00000000000000..b78e576189ade6 --- /dev/null +++ b/types/es-abstract/2021/DaysInYear.d.ts @@ -0,0 +1,2 @@ +import DaysInYear = require("../2020/DaysInYear"); +export = DaysInYear; diff --git a/types/es-abstract/2021/DefinePropertyOrThrow.d.ts b/types/es-abstract/2021/DefinePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..380e43e1e8df8b --- /dev/null +++ b/types/es-abstract/2021/DefinePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DefinePropertyOrThrow = require("../2020/DefinePropertyOrThrow"); +export = DefinePropertyOrThrow; diff --git a/types/es-abstract/2021/DeletePropertyOrThrow.d.ts b/types/es-abstract/2021/DeletePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..8cfa2c75aa5557 --- /dev/null +++ b/types/es-abstract/2021/DeletePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DeletePropertyOrThrow = require("../2020/DeletePropertyOrThrow"); +export = DeletePropertyOrThrow; diff --git a/types/es-abstract/2021/EnumerableOwnPropertyNames.d.ts b/types/es-abstract/2021/EnumerableOwnPropertyNames.d.ts new file mode 100644 index 00000000000000..41f8d69d447b26 --- /dev/null +++ b/types/es-abstract/2021/EnumerableOwnPropertyNames.d.ts @@ -0,0 +1,2 @@ +import EnumerableOwnPropertyNames = require("../2020/EnumerableOwnPropertyNames"); +export = EnumerableOwnPropertyNames; diff --git a/types/es-abstract/2021/FlattenIntoArray.d.ts b/types/es-abstract/2021/FlattenIntoArray.d.ts new file mode 100644 index 00000000000000..930a4d659aee7f --- /dev/null +++ b/types/es-abstract/2021/FlattenIntoArray.d.ts @@ -0,0 +1,2 @@ +import FlattenIntoArray = require("../2020/FlattenIntoArray"); +export = FlattenIntoArray; diff --git a/types/es-abstract/2021/FromPropertyDescriptor.d.ts b/types/es-abstract/2021/FromPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..7eb62fa6df7070 --- /dev/null +++ b/types/es-abstract/2021/FromPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import FromPropertyDescriptor = require("../2020/FromPropertyDescriptor"); +export = FromPropertyDescriptor; diff --git a/types/es-abstract/2021/Get.d.ts b/types/es-abstract/2021/Get.d.ts new file mode 100644 index 00000000000000..834da64f606df7 --- /dev/null +++ b/types/es-abstract/2021/Get.d.ts @@ -0,0 +1,2 @@ +import Get = require("../2020/Get"); +export = Get; diff --git a/types/es-abstract/2021/GetIterator.d.ts b/types/es-abstract/2021/GetIterator.d.ts new file mode 100644 index 00000000000000..57fa255f4abe87 --- /dev/null +++ b/types/es-abstract/2021/GetIterator.d.ts @@ -0,0 +1,2 @@ +import GetIterator = require("../2020/GetIterator"); +export = GetIterator; diff --git a/types/es-abstract/2021/GetMethod.d.ts b/types/es-abstract/2021/GetMethod.d.ts new file mode 100644 index 00000000000000..ead61d4c8a69f5 --- /dev/null +++ b/types/es-abstract/2021/GetMethod.d.ts @@ -0,0 +1,2 @@ +import GetMethod = require("../2020/GetMethod"); +export = GetMethod; diff --git a/types/es-abstract/2021/GetOwnPropertyKeys.d.ts b/types/es-abstract/2021/GetOwnPropertyKeys.d.ts new file mode 100644 index 00000000000000..0461c180d68bb4 --- /dev/null +++ b/types/es-abstract/2021/GetOwnPropertyKeys.d.ts @@ -0,0 +1,2 @@ +import GetOwnPropertyKeys = require("../2020/GetOwnPropertyKeys"); +export = GetOwnPropertyKeys; diff --git a/types/es-abstract/2021/GetPrototypeFromConstructor.d.ts b/types/es-abstract/2021/GetPrototypeFromConstructor.d.ts new file mode 100644 index 00000000000000..c82bd6e6d05d7c --- /dev/null +++ b/types/es-abstract/2021/GetPrototypeFromConstructor.d.ts @@ -0,0 +1,2 @@ +import GetPrototypeFromConstructor = require("../2020/GetPrototypeFromConstructor"); +export = GetPrototypeFromConstructor; diff --git a/types/es-abstract/2021/GetSubstitution.d.ts b/types/es-abstract/2021/GetSubstitution.d.ts new file mode 100644 index 00000000000000..efff9943f14b55 --- /dev/null +++ b/types/es-abstract/2021/GetSubstitution.d.ts @@ -0,0 +1,2 @@ +import GetSubstitution = require("../2020/GetSubstitution"); +export = GetSubstitution; diff --git a/types/es-abstract/2021/GetV.d.ts b/types/es-abstract/2021/GetV.d.ts new file mode 100644 index 00000000000000..a0e6852790c98f --- /dev/null +++ b/types/es-abstract/2021/GetV.d.ts @@ -0,0 +1,2 @@ +import GetV = require("../2020/GetV"); +export = GetV; diff --git a/types/es-abstract/2021/HasOwnProperty.d.ts b/types/es-abstract/2021/HasOwnProperty.d.ts new file mode 100644 index 00000000000000..d2efa6e112ee83 --- /dev/null +++ b/types/es-abstract/2021/HasOwnProperty.d.ts @@ -0,0 +1,2 @@ +import HasOwnProperty = require("../2020/HasOwnProperty"); +export = HasOwnProperty; diff --git a/types/es-abstract/2021/HasProperty.d.ts b/types/es-abstract/2021/HasProperty.d.ts new file mode 100644 index 00000000000000..32dbe92243ef22 --- /dev/null +++ b/types/es-abstract/2021/HasProperty.d.ts @@ -0,0 +1,2 @@ +import HasProperty = require("../2020/HasProperty"); +export = HasProperty; diff --git a/types/es-abstract/2021/HourFromTime.d.ts b/types/es-abstract/2021/HourFromTime.d.ts new file mode 100644 index 00000000000000..2111a55e3d435e --- /dev/null +++ b/types/es-abstract/2021/HourFromTime.d.ts @@ -0,0 +1,2 @@ +import HourFromTime = require("../2020/HourFromTime"); +export = HourFromTime; diff --git a/types/es-abstract/2021/InLeapYear.d.ts b/types/es-abstract/2021/InLeapYear.d.ts new file mode 100644 index 00000000000000..3b81d1fad469f4 --- /dev/null +++ b/types/es-abstract/2021/InLeapYear.d.ts @@ -0,0 +1,2 @@ +import InLeapYear = require("../2020/InLeapYear"); +export = InLeapYear; diff --git a/types/es-abstract/2021/InstanceofOperator.d.ts b/types/es-abstract/2021/InstanceofOperator.d.ts new file mode 100644 index 00000000000000..24afc08ee2aa13 --- /dev/null +++ b/types/es-abstract/2021/InstanceofOperator.d.ts @@ -0,0 +1,2 @@ +import InstanceofOperator = require("../2020/InstanceofOperator"); +export = InstanceofOperator; diff --git a/types/es-abstract/2021/Invoke.d.ts b/types/es-abstract/2021/Invoke.d.ts new file mode 100644 index 00000000000000..3393c7a5259551 --- /dev/null +++ b/types/es-abstract/2021/Invoke.d.ts @@ -0,0 +1,2 @@ +import Invoke = require("../2020/Invoke"); +export = Invoke; diff --git a/types/es-abstract/2021/IsAccessorDescriptor.d.ts b/types/es-abstract/2021/IsAccessorDescriptor.d.ts new file mode 100644 index 00000000000000..039a3f10cfd471 --- /dev/null +++ b/types/es-abstract/2021/IsAccessorDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsAccessorDescriptor = require("../2020/IsAccessorDescriptor"); +export = IsAccessorDescriptor; diff --git a/types/es-abstract/2021/IsArray.d.ts b/types/es-abstract/2021/IsArray.d.ts new file mode 100644 index 00000000000000..432e63ae49a131 --- /dev/null +++ b/types/es-abstract/2021/IsArray.d.ts @@ -0,0 +1,2 @@ +import IsArray = require("../2020/IsArray"); +export = IsArray; diff --git a/types/es-abstract/2021/IsCallable.d.ts b/types/es-abstract/2021/IsCallable.d.ts new file mode 100644 index 00000000000000..a80d8c0a67abc1 --- /dev/null +++ b/types/es-abstract/2021/IsCallable.d.ts @@ -0,0 +1,2 @@ +import IsCallable = require("../2020/IsCallable"); +export = IsCallable; diff --git a/types/es-abstract/2021/IsConcatSpreadable.d.ts b/types/es-abstract/2021/IsConcatSpreadable.d.ts new file mode 100644 index 00000000000000..34ad163c3c9980 --- /dev/null +++ b/types/es-abstract/2021/IsConcatSpreadable.d.ts @@ -0,0 +1,2 @@ +import IsConcatSpreadable = require("../2020/IsConcatSpreadable"); +export = IsConcatSpreadable; diff --git a/types/es-abstract/2021/IsConstructor.d.ts b/types/es-abstract/2021/IsConstructor.d.ts new file mode 100644 index 00000000000000..2e66091344cff1 --- /dev/null +++ b/types/es-abstract/2021/IsConstructor.d.ts @@ -0,0 +1,2 @@ +import IsConstructor = require("../2020/IsConstructor"); +export = IsConstructor; diff --git a/types/es-abstract/2021/IsDataDescriptor.d.ts b/types/es-abstract/2021/IsDataDescriptor.d.ts new file mode 100644 index 00000000000000..5a850e67ac0017 --- /dev/null +++ b/types/es-abstract/2021/IsDataDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsDataDescriptor = require("../2020/IsDataDescriptor"); +export = IsDataDescriptor; diff --git a/types/es-abstract/2021/IsExtensible.d.ts b/types/es-abstract/2021/IsExtensible.d.ts new file mode 100644 index 00000000000000..cdb8736e1bba47 --- /dev/null +++ b/types/es-abstract/2021/IsExtensible.d.ts @@ -0,0 +1,2 @@ +import IsExtensible = require("../2020/IsExtensible"); +export = IsExtensible; diff --git a/types/es-abstract/2021/IsGenericDescriptor.d.ts b/types/es-abstract/2021/IsGenericDescriptor.d.ts new file mode 100644 index 00000000000000..82b683187d4ec4 --- /dev/null +++ b/types/es-abstract/2021/IsGenericDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsGenericDescriptor = require("../2020/IsGenericDescriptor"); +export = IsGenericDescriptor; diff --git a/types/es-abstract/2021/IsIntegralNumber.d.ts b/types/es-abstract/2021/IsIntegralNumber.d.ts new file mode 100644 index 00000000000000..cf65996ad60833 --- /dev/null +++ b/types/es-abstract/2021/IsIntegralNumber.d.ts @@ -0,0 +1,2 @@ +declare function IsIntegralNumber(argument: unknown): boolean; +export = IsIntegralNumber; diff --git a/types/es-abstract/2021/IsPromise.d.ts b/types/es-abstract/2021/IsPromise.d.ts new file mode 100644 index 00000000000000..51a11d7e9b9974 --- /dev/null +++ b/types/es-abstract/2021/IsPromise.d.ts @@ -0,0 +1,2 @@ +import IsPromise = require("../2020/IsPromise"); +export = IsPromise; diff --git a/types/es-abstract/2021/IsPropertyKey.d.ts b/types/es-abstract/2021/IsPropertyKey.d.ts new file mode 100644 index 00000000000000..2610a22094a530 --- /dev/null +++ b/types/es-abstract/2021/IsPropertyKey.d.ts @@ -0,0 +1,2 @@ +import IsPropertyKey = require("../2020/IsPropertyKey"); +export = IsPropertyKey; diff --git a/types/es-abstract/2021/IsRegExp.d.ts b/types/es-abstract/2021/IsRegExp.d.ts new file mode 100644 index 00000000000000..b77a3aa35dc7e1 --- /dev/null +++ b/types/es-abstract/2021/IsRegExp.d.ts @@ -0,0 +1,2 @@ +import IsRegExp = require("../2020/IsRegExp"); +export = IsRegExp; diff --git a/types/es-abstract/2021/IsStringPrefix.d.ts b/types/es-abstract/2021/IsStringPrefix.d.ts new file mode 100644 index 00000000000000..4a67a4a756dea9 --- /dev/null +++ b/types/es-abstract/2021/IsStringPrefix.d.ts @@ -0,0 +1,2 @@ +import IsStringPrefix = require("../2020/IsStringPrefix"); +export = IsStringPrefix; diff --git a/types/es-abstract/2021/IterableToList.d.ts b/types/es-abstract/2021/IterableToList.d.ts new file mode 100644 index 00000000000000..49e46a2eb77661 --- /dev/null +++ b/types/es-abstract/2021/IterableToList.d.ts @@ -0,0 +1,2 @@ +import IterableToList = require("../2020/IterableToList"); +export = IterableToList; diff --git a/types/es-abstract/2021/IteratorClose.d.ts b/types/es-abstract/2021/IteratorClose.d.ts new file mode 100644 index 00000000000000..e2a114747f72c7 --- /dev/null +++ b/types/es-abstract/2021/IteratorClose.d.ts @@ -0,0 +1,2 @@ +import IteratorClose = require("../2020/IteratorClose"); +export = IteratorClose; diff --git a/types/es-abstract/2021/IteratorComplete.d.ts b/types/es-abstract/2021/IteratorComplete.d.ts new file mode 100644 index 00000000000000..2dc4287ea14295 --- /dev/null +++ b/types/es-abstract/2021/IteratorComplete.d.ts @@ -0,0 +1,2 @@ +import IteratorComplete = require("../2020/IteratorComplete"); +export = IteratorComplete; diff --git a/types/es-abstract/2021/IteratorNext.d.ts b/types/es-abstract/2021/IteratorNext.d.ts new file mode 100644 index 00000000000000..7f05e55cafe905 --- /dev/null +++ b/types/es-abstract/2021/IteratorNext.d.ts @@ -0,0 +1,2 @@ +import IteratorNext = require("../2020/IteratorNext"); +export = IteratorNext; diff --git a/types/es-abstract/2021/IteratorStep.d.ts b/types/es-abstract/2021/IteratorStep.d.ts new file mode 100644 index 00000000000000..2c482dab798167 --- /dev/null +++ b/types/es-abstract/2021/IteratorStep.d.ts @@ -0,0 +1,2 @@ +import IteratorStep = require("../2020/IteratorStep"); +export = IteratorStep; diff --git a/types/es-abstract/2021/IteratorValue.d.ts b/types/es-abstract/2021/IteratorValue.d.ts new file mode 100644 index 00000000000000..323bfc3d061f80 --- /dev/null +++ b/types/es-abstract/2021/IteratorValue.d.ts @@ -0,0 +1,2 @@ +import IteratorValue = require("../2020/IteratorValue"); +export = IteratorValue; diff --git a/types/es-abstract/2021/LengthOfArrayLike.d.ts b/types/es-abstract/2021/LengthOfArrayLike.d.ts new file mode 100644 index 00000000000000..30c3ece2ccb0b8 --- /dev/null +++ b/types/es-abstract/2021/LengthOfArrayLike.d.ts @@ -0,0 +1,2 @@ +import LengthOfArrayLike = require("../2020/LengthOfArrayLike"); +export = LengthOfArrayLike; diff --git a/types/es-abstract/2021/MakeDate.d.ts b/types/es-abstract/2021/MakeDate.d.ts new file mode 100644 index 00000000000000..42b48fcf743aa7 --- /dev/null +++ b/types/es-abstract/2021/MakeDate.d.ts @@ -0,0 +1,2 @@ +import MakeDate = require("../2020/MakeDate"); +export = MakeDate; diff --git a/types/es-abstract/2021/MakeDay.d.ts b/types/es-abstract/2021/MakeDay.d.ts new file mode 100644 index 00000000000000..6c61f6d2ad767e --- /dev/null +++ b/types/es-abstract/2021/MakeDay.d.ts @@ -0,0 +1,2 @@ +import MakeDay = require("../2020/MakeDay"); +export = MakeDay; diff --git a/types/es-abstract/2021/MakeTime.d.ts b/types/es-abstract/2021/MakeTime.d.ts new file mode 100644 index 00000000000000..760c74139fb86a --- /dev/null +++ b/types/es-abstract/2021/MakeTime.d.ts @@ -0,0 +1,2 @@ +import MakeTime = require("../2020/MakeTime"); +export = MakeTime; diff --git a/types/es-abstract/2021/MinFromTime.d.ts b/types/es-abstract/2021/MinFromTime.d.ts new file mode 100644 index 00000000000000..1e6be1ff11f4a8 --- /dev/null +++ b/types/es-abstract/2021/MinFromTime.d.ts @@ -0,0 +1,2 @@ +import MinFromTime = require("../2020/MinFromTime"); +export = MinFromTime; diff --git a/types/es-abstract/2021/MonthFromTime.d.ts b/types/es-abstract/2021/MonthFromTime.d.ts new file mode 100644 index 00000000000000..7e3fef2e60219f --- /dev/null +++ b/types/es-abstract/2021/MonthFromTime.d.ts @@ -0,0 +1,2 @@ +import MonthFromTime = require("../2020/MonthFromTime"); +export = MonthFromTime; diff --git a/types/es-abstract/2021/NumberBitwiseOp.d.ts b/types/es-abstract/2021/NumberBitwiseOp.d.ts new file mode 100644 index 00000000000000..d78eb160d760c3 --- /dev/null +++ b/types/es-abstract/2021/NumberBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import NumberBitwiseOp = require("../2020/NumberBitwiseOp"); +export = NumberBitwiseOp; diff --git a/types/es-abstract/2021/NumberToBigInt.d.ts b/types/es-abstract/2021/NumberToBigInt.d.ts new file mode 100644 index 00000000000000..4779d0e42c31c1 --- /dev/null +++ b/types/es-abstract/2021/NumberToBigInt.d.ts @@ -0,0 +1,2 @@ +import NumberToBigInt = require("../2020/NumberToBigInt"); +export = NumberToBigInt; diff --git a/types/es-abstract/2021/OrdinaryDefineOwnProperty.d.ts b/types/es-abstract/2021/OrdinaryDefineOwnProperty.d.ts new file mode 100644 index 00000000000000..eb22bae2c80afb --- /dev/null +++ b/types/es-abstract/2021/OrdinaryDefineOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryDefineOwnProperty = require("../2020/OrdinaryDefineOwnProperty"); +export = OrdinaryDefineOwnProperty; diff --git a/types/es-abstract/2021/OrdinaryGetOwnProperty.d.ts b/types/es-abstract/2021/OrdinaryGetOwnProperty.d.ts new file mode 100644 index 00000000000000..2debe91dae5551 --- /dev/null +++ b/types/es-abstract/2021/OrdinaryGetOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetOwnProperty = require("../2020/OrdinaryGetOwnProperty"); +export = OrdinaryGetOwnProperty; diff --git a/types/es-abstract/2021/OrdinaryGetPrototypeOf.d.ts b/types/es-abstract/2021/OrdinaryGetPrototypeOf.d.ts new file mode 100644 index 00000000000000..44fb40bef2325e --- /dev/null +++ b/types/es-abstract/2021/OrdinaryGetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetPrototypeOf = require("../2020/OrdinaryGetPrototypeOf"); +export = OrdinaryGetPrototypeOf; diff --git a/types/es-abstract/2021/OrdinaryHasInstance.d.ts b/types/es-abstract/2021/OrdinaryHasInstance.d.ts new file mode 100644 index 00000000000000..c5c82bb3c991bf --- /dev/null +++ b/types/es-abstract/2021/OrdinaryHasInstance.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasInstance = require("../2020/OrdinaryHasInstance"); +export = OrdinaryHasInstance; diff --git a/types/es-abstract/2021/OrdinaryHasProperty.d.ts b/types/es-abstract/2021/OrdinaryHasProperty.d.ts new file mode 100644 index 00000000000000..74513dd6453521 --- /dev/null +++ b/types/es-abstract/2021/OrdinaryHasProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasProperty = require("../2020/OrdinaryHasProperty"); +export = OrdinaryHasProperty; diff --git a/types/es-abstract/2021/OrdinaryObjectCreate.d.ts b/types/es-abstract/2021/OrdinaryObjectCreate.d.ts new file mode 100644 index 00000000000000..799bda094a3059 --- /dev/null +++ b/types/es-abstract/2021/OrdinaryObjectCreate.d.ts @@ -0,0 +1,2 @@ +import OrdinaryObjectCreate = require("../2020/OrdinaryObjectCreate"); +export = OrdinaryObjectCreate; diff --git a/types/es-abstract/2021/OrdinarySetPrototypeOf.d.ts b/types/es-abstract/2021/OrdinarySetPrototypeOf.d.ts new file mode 100644 index 00000000000000..dd5b222c010aef --- /dev/null +++ b/types/es-abstract/2021/OrdinarySetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinarySetPrototypeOf = require("../2020/OrdinarySetPrototypeOf"); +export = OrdinarySetPrototypeOf; diff --git a/types/es-abstract/2021/PromiseResolve.d.ts b/types/es-abstract/2021/PromiseResolve.d.ts new file mode 100644 index 00000000000000..80d2fdedf7df8d --- /dev/null +++ b/types/es-abstract/2021/PromiseResolve.d.ts @@ -0,0 +1,2 @@ +import PromiseResolve = require("../2020/PromiseResolve"); +export = PromiseResolve; diff --git a/types/es-abstract/2021/RegExpExec.d.ts b/types/es-abstract/2021/RegExpExec.d.ts new file mode 100644 index 00000000000000..c430e2d685c4d7 --- /dev/null +++ b/types/es-abstract/2021/RegExpExec.d.ts @@ -0,0 +1,2 @@ +import RegExpExec = require("../2020/RegExpExec"); +export = RegExpExec; diff --git a/types/es-abstract/2021/RequireObjectCoercible.d.ts b/types/es-abstract/2021/RequireObjectCoercible.d.ts new file mode 100644 index 00000000000000..f2d66e432f98e4 --- /dev/null +++ b/types/es-abstract/2021/RequireObjectCoercible.d.ts @@ -0,0 +1,2 @@ +import RequireObjectCoercible = require("../2020/RequireObjectCoercible"); +export = RequireObjectCoercible; diff --git a/types/es-abstract/2021/SameValue.d.ts b/types/es-abstract/2021/SameValue.d.ts new file mode 100644 index 00000000000000..8360c0949e5e59 --- /dev/null +++ b/types/es-abstract/2021/SameValue.d.ts @@ -0,0 +1,2 @@ +import SameValue = require("../2020/SameValue"); +export = SameValue; diff --git a/types/es-abstract/2021/SameValueNonNumeric.d.ts b/types/es-abstract/2021/SameValueNonNumeric.d.ts new file mode 100644 index 00000000000000..e23a0beb585d5e --- /dev/null +++ b/types/es-abstract/2021/SameValueNonNumeric.d.ts @@ -0,0 +1,2 @@ +import SameValueNonNumeric = require("../2020/SameValueNonNumeric"); +export = SameValueNonNumeric; diff --git a/types/es-abstract/2021/SameValueZero.d.ts b/types/es-abstract/2021/SameValueZero.d.ts new file mode 100644 index 00000000000000..7071969a73da73 --- /dev/null +++ b/types/es-abstract/2021/SameValueZero.d.ts @@ -0,0 +1,2 @@ +import SameValueZero = require("../2020/SameValueZero"); +export = SameValueZero; diff --git a/types/es-abstract/2021/SecFromTime.d.ts b/types/es-abstract/2021/SecFromTime.d.ts new file mode 100644 index 00000000000000..6c927c3a2eab65 --- /dev/null +++ b/types/es-abstract/2021/SecFromTime.d.ts @@ -0,0 +1,2 @@ +import SecFromTime = require("../2020/SecFromTime"); +export = SecFromTime; diff --git a/types/es-abstract/2021/Set.d.ts b/types/es-abstract/2021/Set.d.ts new file mode 100644 index 00000000000000..c5dfb61c23e906 --- /dev/null +++ b/types/es-abstract/2021/Set.d.ts @@ -0,0 +1,2 @@ +import Set = require("../2020/Set"); +export = Set; diff --git a/types/es-abstract/2021/SetFunctionName.d.ts b/types/es-abstract/2021/SetFunctionName.d.ts new file mode 100644 index 00000000000000..9e6cab2bfec39e --- /dev/null +++ b/types/es-abstract/2021/SetFunctionName.d.ts @@ -0,0 +1,2 @@ +import SetFunctionName = require("../2020/SetFunctionName"); +export = SetFunctionName; diff --git a/types/es-abstract/2021/SetIntegrityLevel.d.ts b/types/es-abstract/2021/SetIntegrityLevel.d.ts new file mode 100644 index 00000000000000..8d46d3b37294b3 --- /dev/null +++ b/types/es-abstract/2021/SetIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import SetIntegrityLevel = require("../2020/SetIntegrityLevel"); +export = SetIntegrityLevel; diff --git a/types/es-abstract/2021/SpeciesConstructor.d.ts b/types/es-abstract/2021/SpeciesConstructor.d.ts new file mode 100644 index 00000000000000..b1c7fcf9ecae1d --- /dev/null +++ b/types/es-abstract/2021/SpeciesConstructor.d.ts @@ -0,0 +1,2 @@ +import SpeciesConstructor = require("../2020/SpeciesConstructor"); +export = SpeciesConstructor; diff --git a/types/es-abstract/2021/StrictEqualityComparison.d.ts b/types/es-abstract/2021/StrictEqualityComparison.d.ts new file mode 100644 index 00000000000000..f93726da956301 --- /dev/null +++ b/types/es-abstract/2021/StrictEqualityComparison.d.ts @@ -0,0 +1,2 @@ +import StrictEqualityComparison = require("../2020/StrictEqualityComparison"); +export = StrictEqualityComparison; diff --git a/types/es-abstract/2021/StringIndexOf.d.ts b/types/es-abstract/2021/StringIndexOf.d.ts new file mode 100644 index 00000000000000..41d85c07b4e966 --- /dev/null +++ b/types/es-abstract/2021/StringIndexOf.d.ts @@ -0,0 +1,2 @@ +declare function StringIndexOf(string: string, searchValue: string, fromIndex: number): number; +export = StringIndexOf; diff --git a/types/es-abstract/2021/StringPad.d.ts b/types/es-abstract/2021/StringPad.d.ts new file mode 100644 index 00000000000000..8eb8958b60d4c3 --- /dev/null +++ b/types/es-abstract/2021/StringPad.d.ts @@ -0,0 +1,2 @@ +import StringPad = require("../2020/StringPad"); +export = StringPad; diff --git a/types/es-abstract/2021/StringToBigInt.d.ts b/types/es-abstract/2021/StringToBigInt.d.ts new file mode 100644 index 00000000000000..ae9c96a89a00f6 --- /dev/null +++ b/types/es-abstract/2021/StringToBigInt.d.ts @@ -0,0 +1,2 @@ +import StringToBigInt = require("../2020/StringToBigInt"); +export = StringToBigInt; diff --git a/types/es-abstract/2021/StringToCodePoints.d.ts b/types/es-abstract/2021/StringToCodePoints.d.ts new file mode 100644 index 00000000000000..0e19f0bb5252cb --- /dev/null +++ b/types/es-abstract/2021/StringToCodePoints.d.ts @@ -0,0 +1,2 @@ +declare function StringToCodePoints(string: string): string[]; +export = StringToCodePoints; diff --git a/types/es-abstract/2021/SymbolDescriptiveString.d.ts b/types/es-abstract/2021/SymbolDescriptiveString.d.ts new file mode 100644 index 00000000000000..50d4f074ce7999 --- /dev/null +++ b/types/es-abstract/2021/SymbolDescriptiveString.d.ts @@ -0,0 +1,2 @@ +import SymbolDescriptiveString = require("../2020/SymbolDescriptiveString"); +export = SymbolDescriptiveString; diff --git a/types/es-abstract/2021/TestIntegrityLevel.d.ts b/types/es-abstract/2021/TestIntegrityLevel.d.ts new file mode 100644 index 00000000000000..1624b56bc56c4b --- /dev/null +++ b/types/es-abstract/2021/TestIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import TestIntegrityLevel = require("../2020/TestIntegrityLevel"); +export = TestIntegrityLevel; diff --git a/types/es-abstract/2021/TimeClip.d.ts b/types/es-abstract/2021/TimeClip.d.ts new file mode 100644 index 00000000000000..b9a899d68fc92a --- /dev/null +++ b/types/es-abstract/2021/TimeClip.d.ts @@ -0,0 +1,2 @@ +import TimeClip = require("../2020/TimeClip"); +export = TimeClip; diff --git a/types/es-abstract/2021/TimeFromYear.d.ts b/types/es-abstract/2021/TimeFromYear.d.ts new file mode 100644 index 00000000000000..95eebdacd97af3 --- /dev/null +++ b/types/es-abstract/2021/TimeFromYear.d.ts @@ -0,0 +1,2 @@ +import TimeFromYear = require("../2020/TimeFromYear"); +export = TimeFromYear; diff --git a/types/es-abstract/2021/TimeString.d.ts b/types/es-abstract/2021/TimeString.d.ts new file mode 100644 index 00000000000000..37db19c25dd0b4 --- /dev/null +++ b/types/es-abstract/2021/TimeString.d.ts @@ -0,0 +1,2 @@ +import TimeString = require("../2020/TimeString"); +export = TimeString; diff --git a/types/es-abstract/2021/TimeWithinDay.d.ts b/types/es-abstract/2021/TimeWithinDay.d.ts new file mode 100644 index 00000000000000..da633f687a0931 --- /dev/null +++ b/types/es-abstract/2021/TimeWithinDay.d.ts @@ -0,0 +1,2 @@ +import TimeWithinDay = require("../2020/TimeWithinDay"); +export = TimeWithinDay; diff --git a/types/es-abstract/2021/ToBigInt.d.ts b/types/es-abstract/2021/ToBigInt.d.ts new file mode 100644 index 00000000000000..9b55a999111ed0 --- /dev/null +++ b/types/es-abstract/2021/ToBigInt.d.ts @@ -0,0 +1,2 @@ +import ToBigInt = require("../2020/ToBigInt"); +export = ToBigInt; diff --git a/types/es-abstract/2021/ToBigInt64.d.ts b/types/es-abstract/2021/ToBigInt64.d.ts new file mode 100644 index 00000000000000..67b7b672c72af4 --- /dev/null +++ b/types/es-abstract/2021/ToBigInt64.d.ts @@ -0,0 +1,2 @@ +import ToBigInt64 = require("../2020/ToBigInt64"); +export = ToBigInt64; diff --git a/types/es-abstract/2021/ToBigUint64.d.ts b/types/es-abstract/2021/ToBigUint64.d.ts new file mode 100644 index 00000000000000..049319ab72e943 --- /dev/null +++ b/types/es-abstract/2021/ToBigUint64.d.ts @@ -0,0 +1,2 @@ +import ToBigUint64 = require("../2020/ToBigUint64"); +export = ToBigUint64; diff --git a/types/es-abstract/2021/ToBoolean.d.ts b/types/es-abstract/2021/ToBoolean.d.ts new file mode 100644 index 00000000000000..30a89d3b166960 --- /dev/null +++ b/types/es-abstract/2021/ToBoolean.d.ts @@ -0,0 +1,2 @@ +import ToBoolean = require("../2020/ToBoolean"); +export = ToBoolean; diff --git a/types/es-abstract/2021/ToDateString.d.ts b/types/es-abstract/2021/ToDateString.d.ts new file mode 100644 index 00000000000000..9c3b7bd31088ec --- /dev/null +++ b/types/es-abstract/2021/ToDateString.d.ts @@ -0,0 +1,2 @@ +import ToDateString = require("../2020/ToDateString"); +export = ToDateString; diff --git a/types/es-abstract/2021/ToIndex.d.ts b/types/es-abstract/2021/ToIndex.d.ts new file mode 100644 index 00000000000000..315f6d7b18a0a6 --- /dev/null +++ b/types/es-abstract/2021/ToIndex.d.ts @@ -0,0 +1,2 @@ +import ToIndex = require("../2020/ToIndex"); +export = ToIndex; diff --git a/types/es-abstract/2021/ToInt16.d.ts b/types/es-abstract/2021/ToInt16.d.ts new file mode 100644 index 00000000000000..5a939f62c4e29d --- /dev/null +++ b/types/es-abstract/2021/ToInt16.d.ts @@ -0,0 +1,2 @@ +import ToInt16 = require("../2020/ToInt16"); +export = ToInt16; diff --git a/types/es-abstract/2021/ToInt32.d.ts b/types/es-abstract/2021/ToInt32.d.ts new file mode 100644 index 00000000000000..099c5cbb5619e6 --- /dev/null +++ b/types/es-abstract/2021/ToInt32.d.ts @@ -0,0 +1,2 @@ +import ToInt32 = require("../2020/ToInt32"); +export = ToInt32; diff --git a/types/es-abstract/2021/ToInt8.d.ts b/types/es-abstract/2021/ToInt8.d.ts new file mode 100644 index 00000000000000..8a47b4ffe5bf88 --- /dev/null +++ b/types/es-abstract/2021/ToInt8.d.ts @@ -0,0 +1,2 @@ +import ToInt8 = require("../2020/ToInt8"); +export = ToInt8; diff --git a/types/es-abstract/2021/ToIntegerOrInfinity.d.ts b/types/es-abstract/2021/ToIntegerOrInfinity.d.ts new file mode 100644 index 00000000000000..5b6f9ffb00b181 --- /dev/null +++ b/types/es-abstract/2021/ToIntegerOrInfinity.d.ts @@ -0,0 +1,2 @@ +declare function ToIntegerOrInfinity(value: unknown): number; +export = ToIntegerOrInfinity; diff --git a/types/es-abstract/2021/ToLength.d.ts b/types/es-abstract/2021/ToLength.d.ts new file mode 100644 index 00000000000000..d4b3b3c818d4be --- /dev/null +++ b/types/es-abstract/2021/ToLength.d.ts @@ -0,0 +1,2 @@ +import ToLength = require("../2020/ToLength"); +export = ToLength; diff --git a/types/es-abstract/2021/ToNumber.d.ts b/types/es-abstract/2021/ToNumber.d.ts new file mode 100644 index 00000000000000..1a26f7691afe00 --- /dev/null +++ b/types/es-abstract/2021/ToNumber.d.ts @@ -0,0 +1,2 @@ +import ToNumber = require("../2020/ToNumber"); +export = ToNumber; diff --git a/types/es-abstract/2021/ToNumeric.d.ts b/types/es-abstract/2021/ToNumeric.d.ts new file mode 100644 index 00000000000000..a01abef0a353b6 --- /dev/null +++ b/types/es-abstract/2021/ToNumeric.d.ts @@ -0,0 +1,2 @@ +import ToNumeric = require("../2020/ToNumeric"); +export = ToNumeric; diff --git a/types/es-abstract/2021/ToObject.d.ts b/types/es-abstract/2021/ToObject.d.ts new file mode 100644 index 00000000000000..268effe715e786 --- /dev/null +++ b/types/es-abstract/2021/ToObject.d.ts @@ -0,0 +1,2 @@ +import ToObject = require("../2020/ToObject"); +export = ToObject; diff --git a/types/es-abstract/2021/ToPrimitive.d.ts b/types/es-abstract/2021/ToPrimitive.d.ts new file mode 100644 index 00000000000000..edaefd59f5d4e1 --- /dev/null +++ b/types/es-abstract/2021/ToPrimitive.d.ts @@ -0,0 +1,2 @@ +import ToPrimitive = require("../2020/ToPrimitive"); +export = ToPrimitive; diff --git a/types/es-abstract/2021/ToPropertyDescriptor.d.ts b/types/es-abstract/2021/ToPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..6ad1dbc7a8fa0e --- /dev/null +++ b/types/es-abstract/2021/ToPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ToPropertyDescriptor = require("../2020/ToPropertyDescriptor"); +export = ToPropertyDescriptor; diff --git a/types/es-abstract/2021/ToPropertyKey.d.ts b/types/es-abstract/2021/ToPropertyKey.d.ts new file mode 100644 index 00000000000000..3f1fdade510f05 --- /dev/null +++ b/types/es-abstract/2021/ToPropertyKey.d.ts @@ -0,0 +1,2 @@ +import ToPropertyKey = require("../2020/ToPropertyKey"); +export = ToPropertyKey; diff --git a/types/es-abstract/2021/ToString.d.ts b/types/es-abstract/2021/ToString.d.ts new file mode 100644 index 00000000000000..5f493254472f5a --- /dev/null +++ b/types/es-abstract/2021/ToString.d.ts @@ -0,0 +1,2 @@ +import ToString = require("../2020/ToString"); +export = ToString; diff --git a/types/es-abstract/2021/ToUint16.d.ts b/types/es-abstract/2021/ToUint16.d.ts new file mode 100644 index 00000000000000..ed26a149e57fed --- /dev/null +++ b/types/es-abstract/2021/ToUint16.d.ts @@ -0,0 +1,2 @@ +import ToUint16 = require("../2020/ToUint16"); +export = ToUint16; diff --git a/types/es-abstract/2021/ToUint32.d.ts b/types/es-abstract/2021/ToUint32.d.ts new file mode 100644 index 00000000000000..c65b595483e507 --- /dev/null +++ b/types/es-abstract/2021/ToUint32.d.ts @@ -0,0 +1,2 @@ +import ToUint32 = require("../2020/ToUint32"); +export = ToUint32; diff --git a/types/es-abstract/2021/ToUint8.d.ts b/types/es-abstract/2021/ToUint8.d.ts new file mode 100644 index 00000000000000..92850b8b05a86e --- /dev/null +++ b/types/es-abstract/2021/ToUint8.d.ts @@ -0,0 +1,2 @@ +import ToUint8 = require("../2020/ToUint8"); +export = ToUint8; diff --git a/types/es-abstract/2021/ToUint8Clamp.d.ts b/types/es-abstract/2021/ToUint8Clamp.d.ts new file mode 100644 index 00000000000000..91d4dee39a6c89 --- /dev/null +++ b/types/es-abstract/2021/ToUint8Clamp.d.ts @@ -0,0 +1,2 @@ +import ToUint8Clamp = require("../2020/ToUint8Clamp"); +export = ToUint8Clamp; diff --git a/types/es-abstract/2021/TrimString.d.ts b/types/es-abstract/2021/TrimString.d.ts new file mode 100644 index 00000000000000..8d8686dbb4ba97 --- /dev/null +++ b/types/es-abstract/2021/TrimString.d.ts @@ -0,0 +1,2 @@ +import TrimString = require("../2020/TrimString"); +export = TrimString; diff --git a/types/es-abstract/2021/Type.d.ts b/types/es-abstract/2021/Type.d.ts new file mode 100644 index 00000000000000..9f9f946ee99e1a --- /dev/null +++ b/types/es-abstract/2021/Type.d.ts @@ -0,0 +1,2 @@ +import Type = require("../2020/Type"); +export = Type; diff --git a/types/es-abstract/2021/ValidateAndApplyPropertyDescriptor.d.ts b/types/es-abstract/2021/ValidateAndApplyPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..d878ea65daea04 --- /dev/null +++ b/types/es-abstract/2021/ValidateAndApplyPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ValidateAndApplyPropertyDescriptor = require("../2020/ValidateAndApplyPropertyDescriptor"); +export = ValidateAndApplyPropertyDescriptor; diff --git a/types/es-abstract/2021/WeekDay.d.ts b/types/es-abstract/2021/WeekDay.d.ts new file mode 100644 index 00000000000000..4ee483afef2934 --- /dev/null +++ b/types/es-abstract/2021/WeekDay.d.ts @@ -0,0 +1,2 @@ +import WeekDay = require("../2020/WeekDay"); +export = WeekDay; diff --git a/types/es-abstract/2021/YearFromTime.d.ts b/types/es-abstract/2021/YearFromTime.d.ts new file mode 100644 index 00000000000000..3ccbb02234f08e --- /dev/null +++ b/types/es-abstract/2021/YearFromTime.d.ts @@ -0,0 +1,2 @@ +import YearFromTime = require("../2020/YearFromTime"); +export = YearFromTime; diff --git a/types/es-abstract/2021/clamp.d.ts b/types/es-abstract/2021/clamp.d.ts new file mode 100644 index 00000000000000..1c89fda2a242d8 --- /dev/null +++ b/types/es-abstract/2021/clamp.d.ts @@ -0,0 +1,2 @@ +declare function clamp(x: number, lower: number, upper: number): number; +export = clamp; diff --git a/types/es-abstract/2021/modulo.d.ts b/types/es-abstract/2021/modulo.d.ts new file mode 100644 index 00000000000000..8368a116c563a0 --- /dev/null +++ b/types/es-abstract/2021/modulo.d.ts @@ -0,0 +1,2 @@ +import modulo = require("../2020/modulo"); +export = modulo; diff --git a/types/es-abstract/2021/msFromTime.d.ts b/types/es-abstract/2021/msFromTime.d.ts new file mode 100644 index 00000000000000..250ca3f90c759e --- /dev/null +++ b/types/es-abstract/2021/msFromTime.d.ts @@ -0,0 +1,2 @@ +import msFromTime = require("../2020/msFromTime"); +export = msFromTime; diff --git a/types/es-abstract/2021/substring.d.ts b/types/es-abstract/2021/substring.d.ts new file mode 100644 index 00000000000000..771f31ff2d4431 --- /dev/null +++ b/types/es-abstract/2021/substring.d.ts @@ -0,0 +1,2 @@ +declare function substring(S: string, inclusiveStart: number, exclusiveEnd?: number): string; +export = substring; diff --git a/types/es-abstract/2021/thisBigIntValue.d.ts b/types/es-abstract/2021/thisBigIntValue.d.ts new file mode 100644 index 00000000000000..8a74a35bd810c6 --- /dev/null +++ b/types/es-abstract/2021/thisBigIntValue.d.ts @@ -0,0 +1,2 @@ +import thisBigIntValue = require("../2020/thisBigIntValue"); +export = thisBigIntValue; diff --git a/types/es-abstract/2021/thisBooleanValue.d.ts b/types/es-abstract/2021/thisBooleanValue.d.ts new file mode 100644 index 00000000000000..af6150b89fb798 --- /dev/null +++ b/types/es-abstract/2021/thisBooleanValue.d.ts @@ -0,0 +1,2 @@ +import thisBooleanValue = require("../2020/thisBooleanValue"); +export = thisBooleanValue; diff --git a/types/es-abstract/2021/thisNumberValue.d.ts b/types/es-abstract/2021/thisNumberValue.d.ts new file mode 100644 index 00000000000000..f7efa039497b5f --- /dev/null +++ b/types/es-abstract/2021/thisNumberValue.d.ts @@ -0,0 +1,2 @@ +import thisNumberValue = require("../2020/thisNumberValue"); +export = thisNumberValue; diff --git a/types/es-abstract/2021/thisStringValue.d.ts b/types/es-abstract/2021/thisStringValue.d.ts new file mode 100644 index 00000000000000..238ec2e842007e --- /dev/null +++ b/types/es-abstract/2021/thisStringValue.d.ts @@ -0,0 +1,2 @@ +import thisStringValue = require("../2020/thisStringValue"); +export = thisStringValue; diff --git a/types/es-abstract/2021/thisSymbolValue.d.ts b/types/es-abstract/2021/thisSymbolValue.d.ts new file mode 100644 index 00000000000000..fdafe380959656 --- /dev/null +++ b/types/es-abstract/2021/thisSymbolValue.d.ts @@ -0,0 +1,2 @@ +import thisSymbolValue = require("../2020/thisSymbolValue"); +export = thisSymbolValue; diff --git a/types/es-abstract/2021/thisTimeValue.d.ts b/types/es-abstract/2021/thisTimeValue.d.ts new file mode 100644 index 00000000000000..1369b1a1fb4da8 --- /dev/null +++ b/types/es-abstract/2021/thisTimeValue.d.ts @@ -0,0 +1,2 @@ +import thisTimeValue = require("../2020/thisTimeValue"); +export = thisTimeValue; diff --git a/types/es-abstract/2022/AddEntriesFromIterable.d.ts b/types/es-abstract/2022/AddEntriesFromIterable.d.ts new file mode 100644 index 00000000000000..c280841094fe7f --- /dev/null +++ b/types/es-abstract/2022/AddEntriesFromIterable.d.ts @@ -0,0 +1,2 @@ +import AddEntriesFromIterable = require("../2021/AddEntriesFromIterable"); +export = AddEntriesFromIterable; diff --git a/types/es-abstract/2022/AdvanceStringIndex.d.ts b/types/es-abstract/2022/AdvanceStringIndex.d.ts new file mode 100644 index 00000000000000..2026d3f64a7cf4 --- /dev/null +++ b/types/es-abstract/2022/AdvanceStringIndex.d.ts @@ -0,0 +1,2 @@ +import AdvanceStringIndex = require("../2021/AdvanceStringIndex"); +export = AdvanceStringIndex; diff --git a/types/es-abstract/2022/ArrayCreate.d.ts b/types/es-abstract/2022/ArrayCreate.d.ts new file mode 100644 index 00000000000000..73c25c3df9811f --- /dev/null +++ b/types/es-abstract/2022/ArrayCreate.d.ts @@ -0,0 +1,2 @@ +import ArrayCreate = require("../2021/ArrayCreate"); +export = ArrayCreate; diff --git a/types/es-abstract/2022/ArraySetLength.d.ts b/types/es-abstract/2022/ArraySetLength.d.ts new file mode 100644 index 00000000000000..b781e02c836e50 --- /dev/null +++ b/types/es-abstract/2022/ArraySetLength.d.ts @@ -0,0 +1,2 @@ +import ArraySetLength = require("../2021/ArraySetLength"); +export = ArraySetLength; diff --git a/types/es-abstract/2022/ArraySpeciesCreate.d.ts b/types/es-abstract/2022/ArraySpeciesCreate.d.ts new file mode 100644 index 00000000000000..f8028a0ce1f37f --- /dev/null +++ b/types/es-abstract/2022/ArraySpeciesCreate.d.ts @@ -0,0 +1,2 @@ +import ArraySpeciesCreate = require("../2021/ArraySpeciesCreate"); +export = ArraySpeciesCreate; diff --git a/types/es-abstract/2022/BigIntBitwiseOp.d.ts b/types/es-abstract/2022/BigIntBitwiseOp.d.ts new file mode 100644 index 00000000000000..8a1e88c2b2f54d --- /dev/null +++ b/types/es-abstract/2022/BigIntBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import BigIntBitwiseOp = require("../2021/BigIntBitwiseOp"); +export = BigIntBitwiseOp; diff --git a/types/es-abstract/2022/BinaryAnd.d.ts b/types/es-abstract/2022/BinaryAnd.d.ts new file mode 100644 index 00000000000000..1a9ce77b4eae39 --- /dev/null +++ b/types/es-abstract/2022/BinaryAnd.d.ts @@ -0,0 +1,2 @@ +import BinaryAnd = require("../2021/BinaryAnd"); +export = BinaryAnd; diff --git a/types/es-abstract/2022/BinaryOr.d.ts b/types/es-abstract/2022/BinaryOr.d.ts new file mode 100644 index 00000000000000..efaf213ad9ddef --- /dev/null +++ b/types/es-abstract/2022/BinaryOr.d.ts @@ -0,0 +1,2 @@ +import BinaryOr = require("../2021/BinaryOr"); +export = BinaryOr; diff --git a/types/es-abstract/2022/BinaryXor.d.ts b/types/es-abstract/2022/BinaryXor.d.ts new file mode 100644 index 00000000000000..a13df7f5d2ed36 --- /dev/null +++ b/types/es-abstract/2022/BinaryXor.d.ts @@ -0,0 +1,2 @@ +import BinaryXor = require("../2021/BinaryXor"); +export = BinaryXor; diff --git a/types/es-abstract/2022/Call.d.ts b/types/es-abstract/2022/Call.d.ts new file mode 100644 index 00000000000000..75fef547b0c7d6 --- /dev/null +++ b/types/es-abstract/2022/Call.d.ts @@ -0,0 +1,2 @@ +import Call = require("../2021/Call"); +export = Call; diff --git a/types/es-abstract/2022/CanonicalNumericIndexString.d.ts b/types/es-abstract/2022/CanonicalNumericIndexString.d.ts new file mode 100644 index 00000000000000..8d39fcf9ea6f7f --- /dev/null +++ b/types/es-abstract/2022/CanonicalNumericIndexString.d.ts @@ -0,0 +1,2 @@ +import CanonicalNumericIndexString = require("../2021/CanonicalNumericIndexString"); +export = CanonicalNumericIndexString; diff --git a/types/es-abstract/2022/CodePointAt.d.ts b/types/es-abstract/2022/CodePointAt.d.ts new file mode 100644 index 00000000000000..b51bfa34ae207c --- /dev/null +++ b/types/es-abstract/2022/CodePointAt.d.ts @@ -0,0 +1,2 @@ +import CodePointAt = require("../2021/CodePointAt"); +export = CodePointAt; diff --git a/types/es-abstract/2022/CodePointsToString.d.ts b/types/es-abstract/2022/CodePointsToString.d.ts new file mode 100644 index 00000000000000..97efe1a8cb4ab2 --- /dev/null +++ b/types/es-abstract/2022/CodePointsToString.d.ts @@ -0,0 +1,2 @@ +import CodePointsToString = require("../2021/CodePointsToString"); +export = CodePointsToString; diff --git a/types/es-abstract/2022/CompletePropertyDescriptor.d.ts b/types/es-abstract/2022/CompletePropertyDescriptor.d.ts new file mode 100644 index 00000000000000..efcbf6420bf63f --- /dev/null +++ b/types/es-abstract/2022/CompletePropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import CompletePropertyDescriptor = require("../2021/CompletePropertyDescriptor"); +export = CompletePropertyDescriptor; diff --git a/types/es-abstract/2022/CopyDataProperties.d.ts b/types/es-abstract/2022/CopyDataProperties.d.ts new file mode 100644 index 00000000000000..fb24696a2ee863 --- /dev/null +++ b/types/es-abstract/2022/CopyDataProperties.d.ts @@ -0,0 +1,2 @@ +import CopyDataProperties = require("../2021/CopyDataProperties"); +export = CopyDataProperties; diff --git a/types/es-abstract/2022/CreateDataProperty.d.ts b/types/es-abstract/2022/CreateDataProperty.d.ts new file mode 100644 index 00000000000000..dc3831c660adda --- /dev/null +++ b/types/es-abstract/2022/CreateDataProperty.d.ts @@ -0,0 +1,2 @@ +import CreateDataProperty = require("../2021/CreateDataProperty"); +export = CreateDataProperty; diff --git a/types/es-abstract/2022/CreateDataPropertyOrThrow.d.ts b/types/es-abstract/2022/CreateDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..02fb951b1e56f4 --- /dev/null +++ b/types/es-abstract/2022/CreateDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateDataPropertyOrThrow = require("../2021/CreateDataPropertyOrThrow"); +export = CreateDataPropertyOrThrow; diff --git a/types/es-abstract/2022/CreateHTML.d.ts b/types/es-abstract/2022/CreateHTML.d.ts new file mode 100644 index 00000000000000..bb7de5effde6f0 --- /dev/null +++ b/types/es-abstract/2022/CreateHTML.d.ts @@ -0,0 +1,2 @@ +import CreateHTML = require("../2021/CreateHTML"); +export = CreateHTML; diff --git a/types/es-abstract/2022/CreateIterResultObject.d.ts b/types/es-abstract/2022/CreateIterResultObject.d.ts new file mode 100644 index 00000000000000..040e5569a31523 --- /dev/null +++ b/types/es-abstract/2022/CreateIterResultObject.d.ts @@ -0,0 +1,2 @@ +import CreateIterResultObject = require("../2021/CreateIterResultObject"); +export = CreateIterResultObject; diff --git a/types/es-abstract/2022/CreateListFromArrayLike.d.ts b/types/es-abstract/2022/CreateListFromArrayLike.d.ts new file mode 100644 index 00000000000000..2c2723246c5d8b --- /dev/null +++ b/types/es-abstract/2022/CreateListFromArrayLike.d.ts @@ -0,0 +1,2 @@ +import CreateListFromArrayLike = require("../2021/CreateListFromArrayLike"); +export = CreateListFromArrayLike; diff --git a/types/es-abstract/2022/CreateMethodProperty.d.ts b/types/es-abstract/2022/CreateMethodProperty.d.ts new file mode 100644 index 00000000000000..b17c3d0ab6f296 --- /dev/null +++ b/types/es-abstract/2022/CreateMethodProperty.d.ts @@ -0,0 +1,2 @@ +import CreateMethodProperty = require("../2021/CreateMethodProperty"); +export = CreateMethodProperty; diff --git a/types/es-abstract/2022/CreateNonEnumerableDataPropertyOrThrow.d.ts b/types/es-abstract/2022/CreateNonEnumerableDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..e8d92019bc1329 --- /dev/null +++ b/types/es-abstract/2022/CreateNonEnumerableDataPropertyOrThrow.d.ts @@ -0,0 +1,4 @@ +import type { PropertyKey } from ".."; + +declare function CreateNonEnumerableDataPropertyOrThrow(O: object, P: PropertyKey, V: unknown): void; +export = CreateNonEnumerableDataPropertyOrThrow; diff --git a/types/es-abstract/2022/CreateRegExpStringIterator.d.ts b/types/es-abstract/2022/CreateRegExpStringIterator.d.ts new file mode 100644 index 00000000000000..2514744c7883b9 --- /dev/null +++ b/types/es-abstract/2022/CreateRegExpStringIterator.d.ts @@ -0,0 +1,2 @@ +import CreateRegExpStringIterator = require("../2021/CreateRegExpStringIterator"); +export = CreateRegExpStringIterator; diff --git a/types/es-abstract/2022/DateFromTime.d.ts b/types/es-abstract/2022/DateFromTime.d.ts new file mode 100644 index 00000000000000..f2de48ca8a6768 --- /dev/null +++ b/types/es-abstract/2022/DateFromTime.d.ts @@ -0,0 +1,2 @@ +import DateFromTime = require("../2021/DateFromTime"); +export = DateFromTime; diff --git a/types/es-abstract/2022/DateString.d.ts b/types/es-abstract/2022/DateString.d.ts new file mode 100644 index 00000000000000..10fa898ed03992 --- /dev/null +++ b/types/es-abstract/2022/DateString.d.ts @@ -0,0 +1,2 @@ +import DateString = require("../2021/DateString"); +export = DateString; diff --git a/types/es-abstract/2022/Day.d.ts b/types/es-abstract/2022/Day.d.ts new file mode 100644 index 00000000000000..be962d2f0480d2 --- /dev/null +++ b/types/es-abstract/2022/Day.d.ts @@ -0,0 +1,2 @@ +import Day = require("../2021/Day"); +export = Day; diff --git a/types/es-abstract/2022/DayFromYear.d.ts b/types/es-abstract/2022/DayFromYear.d.ts new file mode 100644 index 00000000000000..68f9918d8d2f60 --- /dev/null +++ b/types/es-abstract/2022/DayFromYear.d.ts @@ -0,0 +1,2 @@ +import DayFromYear = require("../2021/DayFromYear"); +export = DayFromYear; diff --git a/types/es-abstract/2022/DayWithinYear.d.ts b/types/es-abstract/2022/DayWithinYear.d.ts new file mode 100644 index 00000000000000..18cec5fccf1a06 --- /dev/null +++ b/types/es-abstract/2022/DayWithinYear.d.ts @@ -0,0 +1,2 @@ +import DayWithinYear = require("../2021/DayWithinYear"); +export = DayWithinYear; diff --git a/types/es-abstract/2022/DaysInYear.d.ts b/types/es-abstract/2022/DaysInYear.d.ts new file mode 100644 index 00000000000000..50e02676644a18 --- /dev/null +++ b/types/es-abstract/2022/DaysInYear.d.ts @@ -0,0 +1,2 @@ +import DaysInYear = require("../2021/DaysInYear"); +export = DaysInYear; diff --git a/types/es-abstract/2022/DefineMethodProperty.d.ts b/types/es-abstract/2022/DefineMethodProperty.d.ts new file mode 100644 index 00000000000000..e52ca3fb924aac --- /dev/null +++ b/types/es-abstract/2022/DefineMethodProperty.d.ts @@ -0,0 +1,9 @@ +import type { PropertyKey } from ".."; + +declare function DefineMethodProperty( + O: object, + key: PropertyKey, + closure: (...args: any[]) => any, + enumerable: boolean, +): void; +export = DefineMethodProperty; diff --git a/types/es-abstract/2022/DefinePropertyOrThrow.d.ts b/types/es-abstract/2022/DefinePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..b458da70a53d22 --- /dev/null +++ b/types/es-abstract/2022/DefinePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DefinePropertyOrThrow = require("../2021/DefinePropertyOrThrow"); +export = DefinePropertyOrThrow; diff --git a/types/es-abstract/2022/DeletePropertyOrThrow.d.ts b/types/es-abstract/2022/DeletePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..1284cb74e3f1ab --- /dev/null +++ b/types/es-abstract/2022/DeletePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DeletePropertyOrThrow = require("../2021/DeletePropertyOrThrow"); +export = DeletePropertyOrThrow; diff --git a/types/es-abstract/2022/EnumerableOwnPropertyNames.d.ts b/types/es-abstract/2022/EnumerableOwnPropertyNames.d.ts new file mode 100644 index 00000000000000..48554be1dc21b3 --- /dev/null +++ b/types/es-abstract/2022/EnumerableOwnPropertyNames.d.ts @@ -0,0 +1,2 @@ +import EnumerableOwnPropertyNames = require("../2021/EnumerableOwnPropertyNames"); +export = EnumerableOwnPropertyNames; diff --git a/types/es-abstract/2022/FlattenIntoArray.d.ts b/types/es-abstract/2022/FlattenIntoArray.d.ts new file mode 100644 index 00000000000000..53a182b040aa73 --- /dev/null +++ b/types/es-abstract/2022/FlattenIntoArray.d.ts @@ -0,0 +1,2 @@ +import FlattenIntoArray = require("../2021/FlattenIntoArray"); +export = FlattenIntoArray; diff --git a/types/es-abstract/2022/FromPropertyDescriptor.d.ts b/types/es-abstract/2022/FromPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..1633ea0cb1eaa1 --- /dev/null +++ b/types/es-abstract/2022/FromPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import FromPropertyDescriptor = require("../2021/FromPropertyDescriptor"); +export = FromPropertyDescriptor; diff --git a/types/es-abstract/2022/Get.d.ts b/types/es-abstract/2022/Get.d.ts new file mode 100644 index 00000000000000..b13ecdf4bf5116 --- /dev/null +++ b/types/es-abstract/2022/Get.d.ts @@ -0,0 +1,2 @@ +import Get = require("../2021/Get"); +export = Get; diff --git a/types/es-abstract/2022/GetIterator.d.ts b/types/es-abstract/2022/GetIterator.d.ts new file mode 100644 index 00000000000000..d960b8650c28b7 --- /dev/null +++ b/types/es-abstract/2022/GetIterator.d.ts @@ -0,0 +1,2 @@ +import GetIterator = require("../2021/GetIterator"); +export = GetIterator; diff --git a/types/es-abstract/2022/GetMethod.d.ts b/types/es-abstract/2022/GetMethod.d.ts new file mode 100644 index 00000000000000..519e73f04e52f4 --- /dev/null +++ b/types/es-abstract/2022/GetMethod.d.ts @@ -0,0 +1,2 @@ +import GetMethod = require("../2021/GetMethod"); +export = GetMethod; diff --git a/types/es-abstract/2022/GetOwnPropertyKeys.d.ts b/types/es-abstract/2022/GetOwnPropertyKeys.d.ts new file mode 100644 index 00000000000000..a1255698f5d2b4 --- /dev/null +++ b/types/es-abstract/2022/GetOwnPropertyKeys.d.ts @@ -0,0 +1,2 @@ +import GetOwnPropertyKeys = require("../2021/GetOwnPropertyKeys"); +export = GetOwnPropertyKeys; diff --git a/types/es-abstract/2022/GetPrototypeFromConstructor.d.ts b/types/es-abstract/2022/GetPrototypeFromConstructor.d.ts new file mode 100644 index 00000000000000..3d1627ada6712b --- /dev/null +++ b/types/es-abstract/2022/GetPrototypeFromConstructor.d.ts @@ -0,0 +1,2 @@ +import GetPrototypeFromConstructor = require("../2021/GetPrototypeFromConstructor"); +export = GetPrototypeFromConstructor; diff --git a/types/es-abstract/2022/GetSubstitution.d.ts b/types/es-abstract/2022/GetSubstitution.d.ts new file mode 100644 index 00000000000000..5972e1917787ed --- /dev/null +++ b/types/es-abstract/2022/GetSubstitution.d.ts @@ -0,0 +1,2 @@ +import GetSubstitution = require("../2021/GetSubstitution"); +export = GetSubstitution; diff --git a/types/es-abstract/2022/GetV.d.ts b/types/es-abstract/2022/GetV.d.ts new file mode 100644 index 00000000000000..d03bdad736464a --- /dev/null +++ b/types/es-abstract/2022/GetV.d.ts @@ -0,0 +1,2 @@ +import GetV = require("../2021/GetV"); +export = GetV; diff --git a/types/es-abstract/2022/HasOwnProperty.d.ts b/types/es-abstract/2022/HasOwnProperty.d.ts new file mode 100644 index 00000000000000..4c84f9fad32c16 --- /dev/null +++ b/types/es-abstract/2022/HasOwnProperty.d.ts @@ -0,0 +1,2 @@ +import HasOwnProperty = require("../2021/HasOwnProperty"); +export = HasOwnProperty; diff --git a/types/es-abstract/2022/HasProperty.d.ts b/types/es-abstract/2022/HasProperty.d.ts new file mode 100644 index 00000000000000..159ff09f9a3c28 --- /dev/null +++ b/types/es-abstract/2022/HasProperty.d.ts @@ -0,0 +1,2 @@ +import HasProperty = require("../2021/HasProperty"); +export = HasProperty; diff --git a/types/es-abstract/2022/HourFromTime.d.ts b/types/es-abstract/2022/HourFromTime.d.ts new file mode 100644 index 00000000000000..61361797d8d69b --- /dev/null +++ b/types/es-abstract/2022/HourFromTime.d.ts @@ -0,0 +1,2 @@ +import HourFromTime = require("../2021/HourFromTime"); +export = HourFromTime; diff --git a/types/es-abstract/2022/InLeapYear.d.ts b/types/es-abstract/2022/InLeapYear.d.ts new file mode 100644 index 00000000000000..7b716775a97768 --- /dev/null +++ b/types/es-abstract/2022/InLeapYear.d.ts @@ -0,0 +1,2 @@ +import InLeapYear = require("../2021/InLeapYear"); +export = InLeapYear; diff --git a/types/es-abstract/2022/InstanceofOperator.d.ts b/types/es-abstract/2022/InstanceofOperator.d.ts new file mode 100644 index 00000000000000..e9353fb504eb6a --- /dev/null +++ b/types/es-abstract/2022/InstanceofOperator.d.ts @@ -0,0 +1,2 @@ +import InstanceofOperator = require("../2021/InstanceofOperator"); +export = InstanceofOperator; diff --git a/types/es-abstract/2022/Invoke.d.ts b/types/es-abstract/2022/Invoke.d.ts new file mode 100644 index 00000000000000..3d2a22f9b62b8d --- /dev/null +++ b/types/es-abstract/2022/Invoke.d.ts @@ -0,0 +1,2 @@ +import Invoke = require("../2021/Invoke"); +export = Invoke; diff --git a/types/es-abstract/2022/IsAccessorDescriptor.d.ts b/types/es-abstract/2022/IsAccessorDescriptor.d.ts new file mode 100644 index 00000000000000..5b553e269b9e77 --- /dev/null +++ b/types/es-abstract/2022/IsAccessorDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsAccessorDescriptor = require("../2021/IsAccessorDescriptor"); +export = IsAccessorDescriptor; diff --git a/types/es-abstract/2022/IsArray.d.ts b/types/es-abstract/2022/IsArray.d.ts new file mode 100644 index 00000000000000..84a22138230a8a --- /dev/null +++ b/types/es-abstract/2022/IsArray.d.ts @@ -0,0 +1,2 @@ +import IsArray = require("../2021/IsArray"); +export = IsArray; diff --git a/types/es-abstract/2022/IsCallable.d.ts b/types/es-abstract/2022/IsCallable.d.ts new file mode 100644 index 00000000000000..bbf981bdfc8d68 --- /dev/null +++ b/types/es-abstract/2022/IsCallable.d.ts @@ -0,0 +1,2 @@ +import IsCallable = require("../2021/IsCallable"); +export = IsCallable; diff --git a/types/es-abstract/2022/IsConcatSpreadable.d.ts b/types/es-abstract/2022/IsConcatSpreadable.d.ts new file mode 100644 index 00000000000000..b53ae3a5e900f3 --- /dev/null +++ b/types/es-abstract/2022/IsConcatSpreadable.d.ts @@ -0,0 +1,2 @@ +import IsConcatSpreadable = require("../2021/IsConcatSpreadable"); +export = IsConcatSpreadable; diff --git a/types/es-abstract/2022/IsConstructor.d.ts b/types/es-abstract/2022/IsConstructor.d.ts new file mode 100644 index 00000000000000..1a51e62cf715b2 --- /dev/null +++ b/types/es-abstract/2022/IsConstructor.d.ts @@ -0,0 +1,2 @@ +import IsConstructor = require("../2021/IsConstructor"); +export = IsConstructor; diff --git a/types/es-abstract/2022/IsDataDescriptor.d.ts b/types/es-abstract/2022/IsDataDescriptor.d.ts new file mode 100644 index 00000000000000..5c61a5b00f6083 --- /dev/null +++ b/types/es-abstract/2022/IsDataDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsDataDescriptor = require("../2021/IsDataDescriptor"); +export = IsDataDescriptor; diff --git a/types/es-abstract/2022/IsExtensible.d.ts b/types/es-abstract/2022/IsExtensible.d.ts new file mode 100644 index 00000000000000..7e7508e91efca0 --- /dev/null +++ b/types/es-abstract/2022/IsExtensible.d.ts @@ -0,0 +1,2 @@ +import IsExtensible = require("../2021/IsExtensible"); +export = IsExtensible; diff --git a/types/es-abstract/2022/IsGenericDescriptor.d.ts b/types/es-abstract/2022/IsGenericDescriptor.d.ts new file mode 100644 index 00000000000000..e8385dddf0bc67 --- /dev/null +++ b/types/es-abstract/2022/IsGenericDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsGenericDescriptor = require("../2021/IsGenericDescriptor"); +export = IsGenericDescriptor; diff --git a/types/es-abstract/2022/IsIntegralNumber.d.ts b/types/es-abstract/2022/IsIntegralNumber.d.ts new file mode 100644 index 00000000000000..ad281ee504f020 --- /dev/null +++ b/types/es-abstract/2022/IsIntegralNumber.d.ts @@ -0,0 +1,2 @@ +import IsIntegralNumber = require("../2021/IsIntegralNumber"); +export = IsIntegralNumber; diff --git a/types/es-abstract/2022/IsLessThan.d.ts b/types/es-abstract/2022/IsLessThan.d.ts new file mode 100644 index 00000000000000..b516cb1c4742c9 --- /dev/null +++ b/types/es-abstract/2022/IsLessThan.d.ts @@ -0,0 +1,2 @@ +declare function IsLessThan(x: unknown, y: unknown, LeftFirst: boolean): boolean | undefined; +export = IsLessThan; diff --git a/types/es-abstract/2022/IsLooselyEqual.d.ts b/types/es-abstract/2022/IsLooselyEqual.d.ts new file mode 100644 index 00000000000000..746f8862d01cb2 --- /dev/null +++ b/types/es-abstract/2022/IsLooselyEqual.d.ts @@ -0,0 +1,2 @@ +declare function IsLooselyEqual(x: unknown, y: unknown): boolean; +export = IsLooselyEqual; diff --git a/types/es-abstract/2022/IsPromise.d.ts b/types/es-abstract/2022/IsPromise.d.ts new file mode 100644 index 00000000000000..f0742bece34ef6 --- /dev/null +++ b/types/es-abstract/2022/IsPromise.d.ts @@ -0,0 +1,2 @@ +import IsPromise = require("../2021/IsPromise"); +export = IsPromise; diff --git a/types/es-abstract/2022/IsPropertyKey.d.ts b/types/es-abstract/2022/IsPropertyKey.d.ts new file mode 100644 index 00000000000000..c0bd426f941f1e --- /dev/null +++ b/types/es-abstract/2022/IsPropertyKey.d.ts @@ -0,0 +1,2 @@ +import IsPropertyKey = require("../2021/IsPropertyKey"); +export = IsPropertyKey; diff --git a/types/es-abstract/2022/IsRegExp.d.ts b/types/es-abstract/2022/IsRegExp.d.ts new file mode 100644 index 00000000000000..cc1aa6c5468b22 --- /dev/null +++ b/types/es-abstract/2022/IsRegExp.d.ts @@ -0,0 +1,2 @@ +import IsRegExp = require("../2021/IsRegExp"); +export = IsRegExp; diff --git a/types/es-abstract/2022/IsStrictlyEqual.d.ts b/types/es-abstract/2022/IsStrictlyEqual.d.ts new file mode 100644 index 00000000000000..a5fb355f33e435 --- /dev/null +++ b/types/es-abstract/2022/IsStrictlyEqual.d.ts @@ -0,0 +1,2 @@ +declare function IsStrictlyEqual(x: unknown, y: unknown): boolean; +export = IsStrictlyEqual; diff --git a/types/es-abstract/2022/IsStringPrefix.d.ts b/types/es-abstract/2022/IsStringPrefix.d.ts new file mode 100644 index 00000000000000..b9b0894e6469f1 --- /dev/null +++ b/types/es-abstract/2022/IsStringPrefix.d.ts @@ -0,0 +1,2 @@ +import IsStringPrefix = require("../2021/IsStringPrefix"); +export = IsStringPrefix; diff --git a/types/es-abstract/2022/IterableToList.d.ts b/types/es-abstract/2022/IterableToList.d.ts new file mode 100644 index 00000000000000..2b742e15bc66b8 --- /dev/null +++ b/types/es-abstract/2022/IterableToList.d.ts @@ -0,0 +1,2 @@ +import IterableToList = require("../2021/IterableToList"); +export = IterableToList; diff --git a/types/es-abstract/2022/IteratorClose.d.ts b/types/es-abstract/2022/IteratorClose.d.ts new file mode 100644 index 00000000000000..09bd9b88b2accc --- /dev/null +++ b/types/es-abstract/2022/IteratorClose.d.ts @@ -0,0 +1,2 @@ +import IteratorClose = require("../2021/IteratorClose"); +export = IteratorClose; diff --git a/types/es-abstract/2022/IteratorComplete.d.ts b/types/es-abstract/2022/IteratorComplete.d.ts new file mode 100644 index 00000000000000..0940408dc9e47c --- /dev/null +++ b/types/es-abstract/2022/IteratorComplete.d.ts @@ -0,0 +1,2 @@ +import IteratorComplete = require("../2021/IteratorComplete"); +export = IteratorComplete; diff --git a/types/es-abstract/2022/IteratorNext.d.ts b/types/es-abstract/2022/IteratorNext.d.ts new file mode 100644 index 00000000000000..37eb2c1af480b6 --- /dev/null +++ b/types/es-abstract/2022/IteratorNext.d.ts @@ -0,0 +1,2 @@ +import IteratorNext = require("../2021/IteratorNext"); +export = IteratorNext; diff --git a/types/es-abstract/2022/IteratorStep.d.ts b/types/es-abstract/2022/IteratorStep.d.ts new file mode 100644 index 00000000000000..e9474cb45b7c78 --- /dev/null +++ b/types/es-abstract/2022/IteratorStep.d.ts @@ -0,0 +1,2 @@ +import IteratorStep = require("../2021/IteratorStep"); +export = IteratorStep; diff --git a/types/es-abstract/2022/IteratorValue.d.ts b/types/es-abstract/2022/IteratorValue.d.ts new file mode 100644 index 00000000000000..be5a1d578bcca7 --- /dev/null +++ b/types/es-abstract/2022/IteratorValue.d.ts @@ -0,0 +1,2 @@ +import IteratorValue = require("../2021/IteratorValue"); +export = IteratorValue; diff --git a/types/es-abstract/2022/LengthOfArrayLike.d.ts b/types/es-abstract/2022/LengthOfArrayLike.d.ts new file mode 100644 index 00000000000000..c87c4214206849 --- /dev/null +++ b/types/es-abstract/2022/LengthOfArrayLike.d.ts @@ -0,0 +1,2 @@ +import LengthOfArrayLike = require("../2021/LengthOfArrayLike"); +export = LengthOfArrayLike; diff --git a/types/es-abstract/2022/MakeDate.d.ts b/types/es-abstract/2022/MakeDate.d.ts new file mode 100644 index 00000000000000..113fa75cf6f83e --- /dev/null +++ b/types/es-abstract/2022/MakeDate.d.ts @@ -0,0 +1,2 @@ +import MakeDate = require("../2021/MakeDate"); +export = MakeDate; diff --git a/types/es-abstract/2022/MakeDay.d.ts b/types/es-abstract/2022/MakeDay.d.ts new file mode 100644 index 00000000000000..95b75ed6ae28ad --- /dev/null +++ b/types/es-abstract/2022/MakeDay.d.ts @@ -0,0 +1,2 @@ +import MakeDay = require("../2021/MakeDay"); +export = MakeDay; diff --git a/types/es-abstract/2022/MakeTime.d.ts b/types/es-abstract/2022/MakeTime.d.ts new file mode 100644 index 00000000000000..d5a9a7c0f6f9be --- /dev/null +++ b/types/es-abstract/2022/MakeTime.d.ts @@ -0,0 +1,2 @@ +import MakeTime = require("../2021/MakeTime"); +export = MakeTime; diff --git a/types/es-abstract/2022/MinFromTime.d.ts b/types/es-abstract/2022/MinFromTime.d.ts new file mode 100644 index 00000000000000..0eefdea301f5ed --- /dev/null +++ b/types/es-abstract/2022/MinFromTime.d.ts @@ -0,0 +1,2 @@ +import MinFromTime = require("../2021/MinFromTime"); +export = MinFromTime; diff --git a/types/es-abstract/2022/MonthFromTime.d.ts b/types/es-abstract/2022/MonthFromTime.d.ts new file mode 100644 index 00000000000000..3cd0c5a9349618 --- /dev/null +++ b/types/es-abstract/2022/MonthFromTime.d.ts @@ -0,0 +1,2 @@ +import MonthFromTime = require("../2021/MonthFromTime"); +export = MonthFromTime; diff --git a/types/es-abstract/2022/NumberBitwiseOp.d.ts b/types/es-abstract/2022/NumberBitwiseOp.d.ts new file mode 100644 index 00000000000000..920dc111324158 --- /dev/null +++ b/types/es-abstract/2022/NumberBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import NumberBitwiseOp = require("../2021/NumberBitwiseOp"); +export = NumberBitwiseOp; diff --git a/types/es-abstract/2022/NumberToBigInt.d.ts b/types/es-abstract/2022/NumberToBigInt.d.ts new file mode 100644 index 00000000000000..48cf212834a040 --- /dev/null +++ b/types/es-abstract/2022/NumberToBigInt.d.ts @@ -0,0 +1,2 @@ +import NumberToBigInt = require("../2021/NumberToBigInt"); +export = NumberToBigInt; diff --git a/types/es-abstract/2022/OrdinaryDefineOwnProperty.d.ts b/types/es-abstract/2022/OrdinaryDefineOwnProperty.d.ts new file mode 100644 index 00000000000000..5835bc4e83c18a --- /dev/null +++ b/types/es-abstract/2022/OrdinaryDefineOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryDefineOwnProperty = require("../2021/OrdinaryDefineOwnProperty"); +export = OrdinaryDefineOwnProperty; diff --git a/types/es-abstract/2022/OrdinaryGetOwnProperty.d.ts b/types/es-abstract/2022/OrdinaryGetOwnProperty.d.ts new file mode 100644 index 00000000000000..3a24c701fa473b --- /dev/null +++ b/types/es-abstract/2022/OrdinaryGetOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetOwnProperty = require("../2021/OrdinaryGetOwnProperty"); +export = OrdinaryGetOwnProperty; diff --git a/types/es-abstract/2022/OrdinaryGetPrototypeOf.d.ts b/types/es-abstract/2022/OrdinaryGetPrototypeOf.d.ts new file mode 100644 index 00000000000000..d121f392b1d46d --- /dev/null +++ b/types/es-abstract/2022/OrdinaryGetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetPrototypeOf = require("../2021/OrdinaryGetPrototypeOf"); +export = OrdinaryGetPrototypeOf; diff --git a/types/es-abstract/2022/OrdinaryHasInstance.d.ts b/types/es-abstract/2022/OrdinaryHasInstance.d.ts new file mode 100644 index 00000000000000..0707a62900d824 --- /dev/null +++ b/types/es-abstract/2022/OrdinaryHasInstance.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasInstance = require("../2021/OrdinaryHasInstance"); +export = OrdinaryHasInstance; diff --git a/types/es-abstract/2022/OrdinaryHasProperty.d.ts b/types/es-abstract/2022/OrdinaryHasProperty.d.ts new file mode 100644 index 00000000000000..816e5c7331ee16 --- /dev/null +++ b/types/es-abstract/2022/OrdinaryHasProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasProperty = require("../2021/OrdinaryHasProperty"); +export = OrdinaryHasProperty; diff --git a/types/es-abstract/2022/OrdinaryObjectCreate.d.ts b/types/es-abstract/2022/OrdinaryObjectCreate.d.ts new file mode 100644 index 00000000000000..01d1ac2bf2d92b --- /dev/null +++ b/types/es-abstract/2022/OrdinaryObjectCreate.d.ts @@ -0,0 +1,2 @@ +import OrdinaryObjectCreate = require("../2021/OrdinaryObjectCreate"); +export = OrdinaryObjectCreate; diff --git a/types/es-abstract/2022/OrdinarySetPrototypeOf.d.ts b/types/es-abstract/2022/OrdinarySetPrototypeOf.d.ts new file mode 100644 index 00000000000000..75bef2d7eccb10 --- /dev/null +++ b/types/es-abstract/2022/OrdinarySetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinarySetPrototypeOf = require("../2021/OrdinarySetPrototypeOf"); +export = OrdinarySetPrototypeOf; diff --git a/types/es-abstract/2022/PromiseResolve.d.ts b/types/es-abstract/2022/PromiseResolve.d.ts new file mode 100644 index 00000000000000..586af3f9a44ee9 --- /dev/null +++ b/types/es-abstract/2022/PromiseResolve.d.ts @@ -0,0 +1,2 @@ +import PromiseResolve = require("../2021/PromiseResolve"); +export = PromiseResolve; diff --git a/types/es-abstract/2022/RegExpExec.d.ts b/types/es-abstract/2022/RegExpExec.d.ts new file mode 100644 index 00000000000000..513023407aa617 --- /dev/null +++ b/types/es-abstract/2022/RegExpExec.d.ts @@ -0,0 +1,2 @@ +import RegExpExec = require("../2021/RegExpExec"); +export = RegExpExec; diff --git a/types/es-abstract/2022/RequireObjectCoercible.d.ts b/types/es-abstract/2022/RequireObjectCoercible.d.ts new file mode 100644 index 00000000000000..52c9d03301093c --- /dev/null +++ b/types/es-abstract/2022/RequireObjectCoercible.d.ts @@ -0,0 +1,2 @@ +import RequireObjectCoercible = require("../2021/RequireObjectCoercible"); +export = RequireObjectCoercible; diff --git a/types/es-abstract/2022/SameValue.d.ts b/types/es-abstract/2022/SameValue.d.ts new file mode 100644 index 00000000000000..4b5d65d318f84d --- /dev/null +++ b/types/es-abstract/2022/SameValue.d.ts @@ -0,0 +1,2 @@ +import SameValue = require("../2021/SameValue"); +export = SameValue; diff --git a/types/es-abstract/2022/SameValueNonNumeric.d.ts b/types/es-abstract/2022/SameValueNonNumeric.d.ts new file mode 100644 index 00000000000000..7a8cd49cab2c76 --- /dev/null +++ b/types/es-abstract/2022/SameValueNonNumeric.d.ts @@ -0,0 +1,2 @@ +import SameValueNonNumeric = require("../2021/SameValueNonNumeric"); +export = SameValueNonNumeric; diff --git a/types/es-abstract/2022/SameValueZero.d.ts b/types/es-abstract/2022/SameValueZero.d.ts new file mode 100644 index 00000000000000..8c46903a2e54e3 --- /dev/null +++ b/types/es-abstract/2022/SameValueZero.d.ts @@ -0,0 +1,2 @@ +import SameValueZero = require("../2021/SameValueZero"); +export = SameValueZero; diff --git a/types/es-abstract/2022/SecFromTime.d.ts b/types/es-abstract/2022/SecFromTime.d.ts new file mode 100644 index 00000000000000..acb615b2db49f8 --- /dev/null +++ b/types/es-abstract/2022/SecFromTime.d.ts @@ -0,0 +1,2 @@ +import SecFromTime = require("../2021/SecFromTime"); +export = SecFromTime; diff --git a/types/es-abstract/2022/Set.d.ts b/types/es-abstract/2022/Set.d.ts new file mode 100644 index 00000000000000..8d793fbb92f0e2 --- /dev/null +++ b/types/es-abstract/2022/Set.d.ts @@ -0,0 +1,2 @@ +import Set = require("../2021/Set"); +export = Set; diff --git a/types/es-abstract/2022/SetFunctionName.d.ts b/types/es-abstract/2022/SetFunctionName.d.ts new file mode 100644 index 00000000000000..75bca70e88641b --- /dev/null +++ b/types/es-abstract/2022/SetFunctionName.d.ts @@ -0,0 +1,2 @@ +import SetFunctionName = require("../2021/SetFunctionName"); +export = SetFunctionName; diff --git a/types/es-abstract/2022/SetIntegrityLevel.d.ts b/types/es-abstract/2022/SetIntegrityLevel.d.ts new file mode 100644 index 00000000000000..cf3c08006f9951 --- /dev/null +++ b/types/es-abstract/2022/SetIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import SetIntegrityLevel = require("../2021/SetIntegrityLevel"); +export = SetIntegrityLevel; diff --git a/types/es-abstract/2022/SpeciesConstructor.d.ts b/types/es-abstract/2022/SpeciesConstructor.d.ts new file mode 100644 index 00000000000000..73901d0ca1039f --- /dev/null +++ b/types/es-abstract/2022/SpeciesConstructor.d.ts @@ -0,0 +1,2 @@ +import SpeciesConstructor = require("../2021/SpeciesConstructor"); +export = SpeciesConstructor; diff --git a/types/es-abstract/2022/StringIndexOf.d.ts b/types/es-abstract/2022/StringIndexOf.d.ts new file mode 100644 index 00000000000000..d966739e72ca39 --- /dev/null +++ b/types/es-abstract/2022/StringIndexOf.d.ts @@ -0,0 +1,2 @@ +import StringIndexOf = require("../2021/StringIndexOf"); +export = StringIndexOf; diff --git a/types/es-abstract/2022/StringPad.d.ts b/types/es-abstract/2022/StringPad.d.ts new file mode 100644 index 00000000000000..2f54c72823c4c7 --- /dev/null +++ b/types/es-abstract/2022/StringPad.d.ts @@ -0,0 +1,2 @@ +import StringPad = require("../2021/StringPad"); +export = StringPad; diff --git a/types/es-abstract/2022/StringToBigInt.d.ts b/types/es-abstract/2022/StringToBigInt.d.ts new file mode 100644 index 00000000000000..117c9a493c7d26 --- /dev/null +++ b/types/es-abstract/2022/StringToBigInt.d.ts @@ -0,0 +1,2 @@ +import StringToBigInt = require("../2021/StringToBigInt"); +export = StringToBigInt; diff --git a/types/es-abstract/2022/StringToCodePoints.d.ts b/types/es-abstract/2022/StringToCodePoints.d.ts new file mode 100644 index 00000000000000..af706d0c946426 --- /dev/null +++ b/types/es-abstract/2022/StringToCodePoints.d.ts @@ -0,0 +1,2 @@ +import StringToCodePoints = require("../2021/StringToCodePoints"); +export = StringToCodePoints; diff --git a/types/es-abstract/2022/StringToNumber.d.ts b/types/es-abstract/2022/StringToNumber.d.ts new file mode 100644 index 00000000000000..07ddc0677679dd --- /dev/null +++ b/types/es-abstract/2022/StringToNumber.d.ts @@ -0,0 +1,2 @@ +declare function StringToNumber(argument: string): number; +export = StringToNumber; diff --git a/types/es-abstract/2022/SymbolDescriptiveString.d.ts b/types/es-abstract/2022/SymbolDescriptiveString.d.ts new file mode 100644 index 00000000000000..a430b1bcd80d3e --- /dev/null +++ b/types/es-abstract/2022/SymbolDescriptiveString.d.ts @@ -0,0 +1,2 @@ +import SymbolDescriptiveString = require("../2021/SymbolDescriptiveString"); +export = SymbolDescriptiveString; diff --git a/types/es-abstract/2022/TestIntegrityLevel.d.ts b/types/es-abstract/2022/TestIntegrityLevel.d.ts new file mode 100644 index 00000000000000..82601d5ae0235f --- /dev/null +++ b/types/es-abstract/2022/TestIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import TestIntegrityLevel = require("../2021/TestIntegrityLevel"); +export = TestIntegrityLevel; diff --git a/types/es-abstract/2022/TimeClip.d.ts b/types/es-abstract/2022/TimeClip.d.ts new file mode 100644 index 00000000000000..f6417fa811d49c --- /dev/null +++ b/types/es-abstract/2022/TimeClip.d.ts @@ -0,0 +1,2 @@ +import TimeClip = require("../2021/TimeClip"); +export = TimeClip; diff --git a/types/es-abstract/2022/TimeFromYear.d.ts b/types/es-abstract/2022/TimeFromYear.d.ts new file mode 100644 index 00000000000000..6241959b4f76ea --- /dev/null +++ b/types/es-abstract/2022/TimeFromYear.d.ts @@ -0,0 +1,2 @@ +import TimeFromYear = require("../2021/TimeFromYear"); +export = TimeFromYear; diff --git a/types/es-abstract/2022/TimeString.d.ts b/types/es-abstract/2022/TimeString.d.ts new file mode 100644 index 00000000000000..d41e34440f14eb --- /dev/null +++ b/types/es-abstract/2022/TimeString.d.ts @@ -0,0 +1,2 @@ +import TimeString = require("../2021/TimeString"); +export = TimeString; diff --git a/types/es-abstract/2022/TimeWithinDay.d.ts b/types/es-abstract/2022/TimeWithinDay.d.ts new file mode 100644 index 00000000000000..6ddcada5fff1f1 --- /dev/null +++ b/types/es-abstract/2022/TimeWithinDay.d.ts @@ -0,0 +1,2 @@ +import TimeWithinDay = require("../2021/TimeWithinDay"); +export = TimeWithinDay; diff --git a/types/es-abstract/2022/ToBigInt.d.ts b/types/es-abstract/2022/ToBigInt.d.ts new file mode 100644 index 00000000000000..d8c560b68ccdd5 --- /dev/null +++ b/types/es-abstract/2022/ToBigInt.d.ts @@ -0,0 +1,2 @@ +import ToBigInt = require("../2021/ToBigInt"); +export = ToBigInt; diff --git a/types/es-abstract/2022/ToBigInt64.d.ts b/types/es-abstract/2022/ToBigInt64.d.ts new file mode 100644 index 00000000000000..1b52abe79a4cc1 --- /dev/null +++ b/types/es-abstract/2022/ToBigInt64.d.ts @@ -0,0 +1,2 @@ +import ToBigInt64 = require("../2021/ToBigInt64"); +export = ToBigInt64; diff --git a/types/es-abstract/2022/ToBigUint64.d.ts b/types/es-abstract/2022/ToBigUint64.d.ts new file mode 100644 index 00000000000000..8a11b2bc97f7ca --- /dev/null +++ b/types/es-abstract/2022/ToBigUint64.d.ts @@ -0,0 +1,2 @@ +import ToBigUint64 = require("../2021/ToBigUint64"); +export = ToBigUint64; diff --git a/types/es-abstract/2022/ToBoolean.d.ts b/types/es-abstract/2022/ToBoolean.d.ts new file mode 100644 index 00000000000000..ec07e97553307b --- /dev/null +++ b/types/es-abstract/2022/ToBoolean.d.ts @@ -0,0 +1,2 @@ +import ToBoolean = require("../2021/ToBoolean"); +export = ToBoolean; diff --git a/types/es-abstract/2022/ToDateString.d.ts b/types/es-abstract/2022/ToDateString.d.ts new file mode 100644 index 00000000000000..b080976d72aaf7 --- /dev/null +++ b/types/es-abstract/2022/ToDateString.d.ts @@ -0,0 +1,2 @@ +import ToDateString = require("../2021/ToDateString"); +export = ToDateString; diff --git a/types/es-abstract/2022/ToIndex.d.ts b/types/es-abstract/2022/ToIndex.d.ts new file mode 100644 index 00000000000000..8d18c92bdb86af --- /dev/null +++ b/types/es-abstract/2022/ToIndex.d.ts @@ -0,0 +1,2 @@ +import ToIndex = require("../2021/ToIndex"); +export = ToIndex; diff --git a/types/es-abstract/2022/ToInt16.d.ts b/types/es-abstract/2022/ToInt16.d.ts new file mode 100644 index 00000000000000..0f46e4a0d1c7cf --- /dev/null +++ b/types/es-abstract/2022/ToInt16.d.ts @@ -0,0 +1,2 @@ +import ToInt16 = require("../2021/ToInt16"); +export = ToInt16; diff --git a/types/es-abstract/2022/ToInt32.d.ts b/types/es-abstract/2022/ToInt32.d.ts new file mode 100644 index 00000000000000..559c8ebdc77a13 --- /dev/null +++ b/types/es-abstract/2022/ToInt32.d.ts @@ -0,0 +1,2 @@ +import ToInt32 = require("../2021/ToInt32"); +export = ToInt32; diff --git a/types/es-abstract/2022/ToInt8.d.ts b/types/es-abstract/2022/ToInt8.d.ts new file mode 100644 index 00000000000000..f0e8e5470baa59 --- /dev/null +++ b/types/es-abstract/2022/ToInt8.d.ts @@ -0,0 +1,2 @@ +import ToInt8 = require("../2021/ToInt8"); +export = ToInt8; diff --git a/types/es-abstract/2022/ToIntegerOrInfinity.d.ts b/types/es-abstract/2022/ToIntegerOrInfinity.d.ts new file mode 100644 index 00000000000000..bd5dce449484ff --- /dev/null +++ b/types/es-abstract/2022/ToIntegerOrInfinity.d.ts @@ -0,0 +1,2 @@ +import ToIntegerOrInfinity = require("../2021/ToIntegerOrInfinity"); +export = ToIntegerOrInfinity; diff --git a/types/es-abstract/2022/ToLength.d.ts b/types/es-abstract/2022/ToLength.d.ts new file mode 100644 index 00000000000000..0be68f6ce1ef73 --- /dev/null +++ b/types/es-abstract/2022/ToLength.d.ts @@ -0,0 +1,2 @@ +import ToLength = require("../2021/ToLength"); +export = ToLength; diff --git a/types/es-abstract/2022/ToNumber.d.ts b/types/es-abstract/2022/ToNumber.d.ts new file mode 100644 index 00000000000000..9a5b1f8a31e261 --- /dev/null +++ b/types/es-abstract/2022/ToNumber.d.ts @@ -0,0 +1,2 @@ +import ToNumber = require("../2021/ToNumber"); +export = ToNumber; diff --git a/types/es-abstract/2022/ToNumeric.d.ts b/types/es-abstract/2022/ToNumeric.d.ts new file mode 100644 index 00000000000000..da14cb01633bb1 --- /dev/null +++ b/types/es-abstract/2022/ToNumeric.d.ts @@ -0,0 +1,2 @@ +import ToNumeric = require("../2021/ToNumeric"); +export = ToNumeric; diff --git a/types/es-abstract/2022/ToObject.d.ts b/types/es-abstract/2022/ToObject.d.ts new file mode 100644 index 00000000000000..0de9078d9ac5ac --- /dev/null +++ b/types/es-abstract/2022/ToObject.d.ts @@ -0,0 +1,2 @@ +import ToObject = require("../2021/ToObject"); +export = ToObject; diff --git a/types/es-abstract/2022/ToPrimitive.d.ts b/types/es-abstract/2022/ToPrimitive.d.ts new file mode 100644 index 00000000000000..7ff1aa76630514 --- /dev/null +++ b/types/es-abstract/2022/ToPrimitive.d.ts @@ -0,0 +1,2 @@ +import ToPrimitive = require("../2021/ToPrimitive"); +export = ToPrimitive; diff --git a/types/es-abstract/2022/ToPropertyDescriptor.d.ts b/types/es-abstract/2022/ToPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..95573f1d3fb069 --- /dev/null +++ b/types/es-abstract/2022/ToPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ToPropertyDescriptor = require("../2021/ToPropertyDescriptor"); +export = ToPropertyDescriptor; diff --git a/types/es-abstract/2022/ToPropertyKey.d.ts b/types/es-abstract/2022/ToPropertyKey.d.ts new file mode 100644 index 00000000000000..5aec7b4623d743 --- /dev/null +++ b/types/es-abstract/2022/ToPropertyKey.d.ts @@ -0,0 +1,2 @@ +import ToPropertyKey = require("../2021/ToPropertyKey"); +export = ToPropertyKey; diff --git a/types/es-abstract/2022/ToString.d.ts b/types/es-abstract/2022/ToString.d.ts new file mode 100644 index 00000000000000..0dfbe885f1d7cc --- /dev/null +++ b/types/es-abstract/2022/ToString.d.ts @@ -0,0 +1,2 @@ +import ToString = require("../2021/ToString"); +export = ToString; diff --git a/types/es-abstract/2022/ToUint16.d.ts b/types/es-abstract/2022/ToUint16.d.ts new file mode 100644 index 00000000000000..83e16c17a17e8f --- /dev/null +++ b/types/es-abstract/2022/ToUint16.d.ts @@ -0,0 +1,2 @@ +import ToUint16 = require("../2021/ToUint16"); +export = ToUint16; diff --git a/types/es-abstract/2022/ToUint32.d.ts b/types/es-abstract/2022/ToUint32.d.ts new file mode 100644 index 00000000000000..0d00fc6fbebe7d --- /dev/null +++ b/types/es-abstract/2022/ToUint32.d.ts @@ -0,0 +1,2 @@ +import ToUint32 = require("../2021/ToUint32"); +export = ToUint32; diff --git a/types/es-abstract/2022/ToUint8.d.ts b/types/es-abstract/2022/ToUint8.d.ts new file mode 100644 index 00000000000000..797a85f20606e9 --- /dev/null +++ b/types/es-abstract/2022/ToUint8.d.ts @@ -0,0 +1,2 @@ +import ToUint8 = require("../2021/ToUint8"); +export = ToUint8; diff --git a/types/es-abstract/2022/ToUint8Clamp.d.ts b/types/es-abstract/2022/ToUint8Clamp.d.ts new file mode 100644 index 00000000000000..e4237797456990 --- /dev/null +++ b/types/es-abstract/2022/ToUint8Clamp.d.ts @@ -0,0 +1,2 @@ +import ToUint8Clamp = require("../2021/ToUint8Clamp"); +export = ToUint8Clamp; diff --git a/types/es-abstract/2022/TrimString.d.ts b/types/es-abstract/2022/TrimString.d.ts new file mode 100644 index 00000000000000..420a33e1926325 --- /dev/null +++ b/types/es-abstract/2022/TrimString.d.ts @@ -0,0 +1,2 @@ +import TrimString = require("../2021/TrimString"); +export = TrimString; diff --git a/types/es-abstract/2022/Type.d.ts b/types/es-abstract/2022/Type.d.ts new file mode 100644 index 00000000000000..0404172d431ae3 --- /dev/null +++ b/types/es-abstract/2022/Type.d.ts @@ -0,0 +1,2 @@ +import Type = require("../2021/Type"); +export = Type; diff --git a/types/es-abstract/2022/ValidateAndApplyPropertyDescriptor.d.ts b/types/es-abstract/2022/ValidateAndApplyPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..f1234aeb999741 --- /dev/null +++ b/types/es-abstract/2022/ValidateAndApplyPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ValidateAndApplyPropertyDescriptor = require("../2021/ValidateAndApplyPropertyDescriptor"); +export = ValidateAndApplyPropertyDescriptor; diff --git a/types/es-abstract/2022/WeekDay.d.ts b/types/es-abstract/2022/WeekDay.d.ts new file mode 100644 index 00000000000000..c1f317ffb048ca --- /dev/null +++ b/types/es-abstract/2022/WeekDay.d.ts @@ -0,0 +1,2 @@ +import WeekDay = require("../2021/WeekDay"); +export = WeekDay; diff --git a/types/es-abstract/2022/YearFromTime.d.ts b/types/es-abstract/2022/YearFromTime.d.ts new file mode 100644 index 00000000000000..9321f938168232 --- /dev/null +++ b/types/es-abstract/2022/YearFromTime.d.ts @@ -0,0 +1,2 @@ +import YearFromTime = require("../2021/YearFromTime"); +export = YearFromTime; diff --git a/types/es-abstract/2022/clamp.d.ts b/types/es-abstract/2022/clamp.d.ts new file mode 100644 index 00000000000000..60713ce80cc2f9 --- /dev/null +++ b/types/es-abstract/2022/clamp.d.ts @@ -0,0 +1,2 @@ +import clamp = require("../2021/clamp"); +export = clamp; diff --git a/types/es-abstract/2022/modulo.d.ts b/types/es-abstract/2022/modulo.d.ts new file mode 100644 index 00000000000000..7b6c884f6cd448 --- /dev/null +++ b/types/es-abstract/2022/modulo.d.ts @@ -0,0 +1,2 @@ +import modulo = require("../2021/modulo"); +export = modulo; diff --git a/types/es-abstract/2022/msFromTime.d.ts b/types/es-abstract/2022/msFromTime.d.ts new file mode 100644 index 00000000000000..118a6173a56e49 --- /dev/null +++ b/types/es-abstract/2022/msFromTime.d.ts @@ -0,0 +1,2 @@ +import msFromTime = require("../2021/msFromTime"); +export = msFromTime; diff --git a/types/es-abstract/2022/substring.d.ts b/types/es-abstract/2022/substring.d.ts new file mode 100644 index 00000000000000..919f5f4cc42ad3 --- /dev/null +++ b/types/es-abstract/2022/substring.d.ts @@ -0,0 +1,2 @@ +import substring = require("../2021/substring"); +export = substring; diff --git a/types/es-abstract/2022/thisBigIntValue.d.ts b/types/es-abstract/2022/thisBigIntValue.d.ts new file mode 100644 index 00000000000000..79365c11df8868 --- /dev/null +++ b/types/es-abstract/2022/thisBigIntValue.d.ts @@ -0,0 +1,2 @@ +import thisBigIntValue = require("../2021/thisBigIntValue"); +export = thisBigIntValue; diff --git a/types/es-abstract/2022/thisBooleanValue.d.ts b/types/es-abstract/2022/thisBooleanValue.d.ts new file mode 100644 index 00000000000000..915bbee8cbb471 --- /dev/null +++ b/types/es-abstract/2022/thisBooleanValue.d.ts @@ -0,0 +1,2 @@ +import thisBooleanValue = require("../2021/thisBooleanValue"); +export = thisBooleanValue; diff --git a/types/es-abstract/2022/thisNumberValue.d.ts b/types/es-abstract/2022/thisNumberValue.d.ts new file mode 100644 index 00000000000000..2c98cadcc86fa4 --- /dev/null +++ b/types/es-abstract/2022/thisNumberValue.d.ts @@ -0,0 +1,2 @@ +import thisNumberValue = require("../2021/thisNumberValue"); +export = thisNumberValue; diff --git a/types/es-abstract/2022/thisStringValue.d.ts b/types/es-abstract/2022/thisStringValue.d.ts new file mode 100644 index 00000000000000..ca0677174cb6c3 --- /dev/null +++ b/types/es-abstract/2022/thisStringValue.d.ts @@ -0,0 +1,2 @@ +import thisStringValue = require("../2021/thisStringValue"); +export = thisStringValue; diff --git a/types/es-abstract/2022/thisSymbolValue.d.ts b/types/es-abstract/2022/thisSymbolValue.d.ts new file mode 100644 index 00000000000000..69c8953dc05e0a --- /dev/null +++ b/types/es-abstract/2022/thisSymbolValue.d.ts @@ -0,0 +1,2 @@ +import thisSymbolValue = require("../2021/thisSymbolValue"); +export = thisSymbolValue; diff --git a/types/es-abstract/2022/thisTimeValue.d.ts b/types/es-abstract/2022/thisTimeValue.d.ts new file mode 100644 index 00000000000000..476819e9675f23 --- /dev/null +++ b/types/es-abstract/2022/thisTimeValue.d.ts @@ -0,0 +1,2 @@ +import thisTimeValue = require("../2021/thisTimeValue"); +export = thisTimeValue; diff --git a/types/es-abstract/2023/AddEntriesFromIterable.d.ts b/types/es-abstract/2023/AddEntriesFromIterable.d.ts new file mode 100644 index 00000000000000..52e6ac5a3a6791 --- /dev/null +++ b/types/es-abstract/2023/AddEntriesFromIterable.d.ts @@ -0,0 +1,2 @@ +import AddEntriesFromIterable = require("../2022/AddEntriesFromIterable"); +export = AddEntriesFromIterable; diff --git a/types/es-abstract/2023/AdvanceStringIndex.d.ts b/types/es-abstract/2023/AdvanceStringIndex.d.ts new file mode 100644 index 00000000000000..532f396e02f32e --- /dev/null +++ b/types/es-abstract/2023/AdvanceStringIndex.d.ts @@ -0,0 +1,2 @@ +import AdvanceStringIndex = require("../2022/AdvanceStringIndex"); +export = AdvanceStringIndex; diff --git a/types/es-abstract/2023/ArrayCreate.d.ts b/types/es-abstract/2023/ArrayCreate.d.ts new file mode 100644 index 00000000000000..fa3d2d6df62aa7 --- /dev/null +++ b/types/es-abstract/2023/ArrayCreate.d.ts @@ -0,0 +1,2 @@ +import ArrayCreate = require("../2022/ArrayCreate"); +export = ArrayCreate; diff --git a/types/es-abstract/2023/ArraySetLength.d.ts b/types/es-abstract/2023/ArraySetLength.d.ts new file mode 100644 index 00000000000000..7b14f19ba10a29 --- /dev/null +++ b/types/es-abstract/2023/ArraySetLength.d.ts @@ -0,0 +1,2 @@ +import ArraySetLength = require("../2022/ArraySetLength"); +export = ArraySetLength; diff --git a/types/es-abstract/2023/ArraySpeciesCreate.d.ts b/types/es-abstract/2023/ArraySpeciesCreate.d.ts new file mode 100644 index 00000000000000..af5fd0d224499e --- /dev/null +++ b/types/es-abstract/2023/ArraySpeciesCreate.d.ts @@ -0,0 +1,2 @@ +import ArraySpeciesCreate = require("../2022/ArraySpeciesCreate"); +export = ArraySpeciesCreate; diff --git a/types/es-abstract/2023/BigIntBitwiseOp.d.ts b/types/es-abstract/2023/BigIntBitwiseOp.d.ts new file mode 100644 index 00000000000000..ba674cb5caf41a --- /dev/null +++ b/types/es-abstract/2023/BigIntBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import BigIntBitwiseOp = require("../2022/BigIntBitwiseOp"); +export = BigIntBitwiseOp; diff --git a/types/es-abstract/2023/BinaryAnd.d.ts b/types/es-abstract/2023/BinaryAnd.d.ts new file mode 100644 index 00000000000000..2cf61d54918a99 --- /dev/null +++ b/types/es-abstract/2023/BinaryAnd.d.ts @@ -0,0 +1,2 @@ +import BinaryAnd = require("../2022/BinaryAnd"); +export = BinaryAnd; diff --git a/types/es-abstract/2023/BinaryOr.d.ts b/types/es-abstract/2023/BinaryOr.d.ts new file mode 100644 index 00000000000000..dd9b514df116ae --- /dev/null +++ b/types/es-abstract/2023/BinaryOr.d.ts @@ -0,0 +1,2 @@ +import BinaryOr = require("../2022/BinaryOr"); +export = BinaryOr; diff --git a/types/es-abstract/2023/BinaryXor.d.ts b/types/es-abstract/2023/BinaryXor.d.ts new file mode 100644 index 00000000000000..d78f9212eac0b5 --- /dev/null +++ b/types/es-abstract/2023/BinaryXor.d.ts @@ -0,0 +1,2 @@ +import BinaryXor = require("../2022/BinaryXor"); +export = BinaryXor; diff --git a/types/es-abstract/2023/Call.d.ts b/types/es-abstract/2023/Call.d.ts new file mode 100644 index 00000000000000..215bdb6e95bea0 --- /dev/null +++ b/types/es-abstract/2023/Call.d.ts @@ -0,0 +1,2 @@ +import Call = require("../2022/Call"); +export = Call; diff --git a/types/es-abstract/2023/CanBeHeldWeakly.d.ts b/types/es-abstract/2023/CanBeHeldWeakly.d.ts new file mode 100644 index 00000000000000..3462f2fe4c8733 --- /dev/null +++ b/types/es-abstract/2023/CanBeHeldWeakly.d.ts @@ -0,0 +1,2 @@ +declare function CanBeHeldWeakly(v: unknown): boolean; +export = CanBeHeldWeakly; diff --git a/types/es-abstract/2023/CanonicalNumericIndexString.d.ts b/types/es-abstract/2023/CanonicalNumericIndexString.d.ts new file mode 100644 index 00000000000000..15aad749795def --- /dev/null +++ b/types/es-abstract/2023/CanonicalNumericIndexString.d.ts @@ -0,0 +1,2 @@ +import CanonicalNumericIndexString = require("../2022/CanonicalNumericIndexString"); +export = CanonicalNumericIndexString; diff --git a/types/es-abstract/2023/CodePointAt.d.ts b/types/es-abstract/2023/CodePointAt.d.ts new file mode 100644 index 00000000000000..334075fe47ee33 --- /dev/null +++ b/types/es-abstract/2023/CodePointAt.d.ts @@ -0,0 +1,2 @@ +import CodePointAt = require("../2022/CodePointAt"); +export = CodePointAt; diff --git a/types/es-abstract/2023/CodePointsToString.d.ts b/types/es-abstract/2023/CodePointsToString.d.ts new file mode 100644 index 00000000000000..e276b48c79fccb --- /dev/null +++ b/types/es-abstract/2023/CodePointsToString.d.ts @@ -0,0 +1,2 @@ +import CodePointsToString = require("../2022/CodePointsToString"); +export = CodePointsToString; diff --git a/types/es-abstract/2023/CompletePropertyDescriptor.d.ts b/types/es-abstract/2023/CompletePropertyDescriptor.d.ts new file mode 100644 index 00000000000000..8ec002b2bbb47c --- /dev/null +++ b/types/es-abstract/2023/CompletePropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import CompletePropertyDescriptor = require("../2022/CompletePropertyDescriptor"); +export = CompletePropertyDescriptor; diff --git a/types/es-abstract/2023/CopyDataProperties.d.ts b/types/es-abstract/2023/CopyDataProperties.d.ts new file mode 100644 index 00000000000000..88addc9ebd5fb3 --- /dev/null +++ b/types/es-abstract/2023/CopyDataProperties.d.ts @@ -0,0 +1,2 @@ +import CopyDataProperties = require("../2022/CopyDataProperties"); +export = CopyDataProperties; diff --git a/types/es-abstract/2023/CreateDataProperty.d.ts b/types/es-abstract/2023/CreateDataProperty.d.ts new file mode 100644 index 00000000000000..c771f8a281c9aa --- /dev/null +++ b/types/es-abstract/2023/CreateDataProperty.d.ts @@ -0,0 +1,2 @@ +import CreateDataProperty = require("../2022/CreateDataProperty"); +export = CreateDataProperty; diff --git a/types/es-abstract/2023/CreateDataPropertyOrThrow.d.ts b/types/es-abstract/2023/CreateDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..3caba6a8215fea --- /dev/null +++ b/types/es-abstract/2023/CreateDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateDataPropertyOrThrow = require("../2022/CreateDataPropertyOrThrow"); +export = CreateDataPropertyOrThrow; diff --git a/types/es-abstract/2023/CreateHTML.d.ts b/types/es-abstract/2023/CreateHTML.d.ts new file mode 100644 index 00000000000000..38cdc5bf722272 --- /dev/null +++ b/types/es-abstract/2023/CreateHTML.d.ts @@ -0,0 +1,2 @@ +import CreateHTML = require("../2022/CreateHTML"); +export = CreateHTML; diff --git a/types/es-abstract/2023/CreateIterResultObject.d.ts b/types/es-abstract/2023/CreateIterResultObject.d.ts new file mode 100644 index 00000000000000..fe32252a70a68f --- /dev/null +++ b/types/es-abstract/2023/CreateIterResultObject.d.ts @@ -0,0 +1,2 @@ +import CreateIterResultObject = require("../2022/CreateIterResultObject"); +export = CreateIterResultObject; diff --git a/types/es-abstract/2023/CreateListFromArrayLike.d.ts b/types/es-abstract/2023/CreateListFromArrayLike.d.ts new file mode 100644 index 00000000000000..3411c67f79c0f7 --- /dev/null +++ b/types/es-abstract/2023/CreateListFromArrayLike.d.ts @@ -0,0 +1,2 @@ +import CreateListFromArrayLike = require("../2022/CreateListFromArrayLike"); +export = CreateListFromArrayLike; diff --git a/types/es-abstract/2023/CreateMethodProperty.d.ts b/types/es-abstract/2023/CreateMethodProperty.d.ts new file mode 100644 index 00000000000000..f80258b4919d07 --- /dev/null +++ b/types/es-abstract/2023/CreateMethodProperty.d.ts @@ -0,0 +1,2 @@ +import CreateMethodProperty = require("../2022/CreateMethodProperty"); +export = CreateMethodProperty; diff --git a/types/es-abstract/2023/CreateNonEnumerableDataPropertyOrThrow.d.ts b/types/es-abstract/2023/CreateNonEnumerableDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..68b73030551e16 --- /dev/null +++ b/types/es-abstract/2023/CreateNonEnumerableDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateNonEnumerableDataPropertyOrThrow = require("../2022/CreateNonEnumerableDataPropertyOrThrow"); +export = CreateNonEnumerableDataPropertyOrThrow; diff --git a/types/es-abstract/2023/CreateRegExpStringIterator.d.ts b/types/es-abstract/2023/CreateRegExpStringIterator.d.ts new file mode 100644 index 00000000000000..58de012712d63e --- /dev/null +++ b/types/es-abstract/2023/CreateRegExpStringIterator.d.ts @@ -0,0 +1,2 @@ +import CreateRegExpStringIterator = require("../2022/CreateRegExpStringIterator"); +export = CreateRegExpStringIterator; diff --git a/types/es-abstract/2023/DateFromTime.d.ts b/types/es-abstract/2023/DateFromTime.d.ts new file mode 100644 index 00000000000000..3be5c1d5c94e30 --- /dev/null +++ b/types/es-abstract/2023/DateFromTime.d.ts @@ -0,0 +1,2 @@ +import DateFromTime = require("../2022/DateFromTime"); +export = DateFromTime; diff --git a/types/es-abstract/2023/DateString.d.ts b/types/es-abstract/2023/DateString.d.ts new file mode 100644 index 00000000000000..e9da605297945e --- /dev/null +++ b/types/es-abstract/2023/DateString.d.ts @@ -0,0 +1,2 @@ +import DateString = require("../2022/DateString"); +export = DateString; diff --git a/types/es-abstract/2023/Day.d.ts b/types/es-abstract/2023/Day.d.ts new file mode 100644 index 00000000000000..d06e331441ee59 --- /dev/null +++ b/types/es-abstract/2023/Day.d.ts @@ -0,0 +1,2 @@ +import Day = require("../2022/Day"); +export = Day; diff --git a/types/es-abstract/2023/DayFromYear.d.ts b/types/es-abstract/2023/DayFromYear.d.ts new file mode 100644 index 00000000000000..686a4ae946e1de --- /dev/null +++ b/types/es-abstract/2023/DayFromYear.d.ts @@ -0,0 +1,2 @@ +import DayFromYear = require("../2022/DayFromYear"); +export = DayFromYear; diff --git a/types/es-abstract/2023/DayWithinYear.d.ts b/types/es-abstract/2023/DayWithinYear.d.ts new file mode 100644 index 00000000000000..0da8901921527e --- /dev/null +++ b/types/es-abstract/2023/DayWithinYear.d.ts @@ -0,0 +1,2 @@ +import DayWithinYear = require("../2022/DayWithinYear"); +export = DayWithinYear; diff --git a/types/es-abstract/2023/DaysInYear.d.ts b/types/es-abstract/2023/DaysInYear.d.ts new file mode 100644 index 00000000000000..a2029e0b134266 --- /dev/null +++ b/types/es-abstract/2023/DaysInYear.d.ts @@ -0,0 +1,2 @@ +import DaysInYear = require("../2022/DaysInYear"); +export = DaysInYear; diff --git a/types/es-abstract/2023/DefineMethodProperty.d.ts b/types/es-abstract/2023/DefineMethodProperty.d.ts new file mode 100644 index 00000000000000..ff246ff35f0019 --- /dev/null +++ b/types/es-abstract/2023/DefineMethodProperty.d.ts @@ -0,0 +1,2 @@ +import DefineMethodProperty = require("../2022/DefineMethodProperty"); +export = DefineMethodProperty; diff --git a/types/es-abstract/2023/DefinePropertyOrThrow.d.ts b/types/es-abstract/2023/DefinePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..35932e8bb86ee5 --- /dev/null +++ b/types/es-abstract/2023/DefinePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DefinePropertyOrThrow = require("../2022/DefinePropertyOrThrow"); +export = DefinePropertyOrThrow; diff --git a/types/es-abstract/2023/DeletePropertyOrThrow.d.ts b/types/es-abstract/2023/DeletePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..b52f9e705edb84 --- /dev/null +++ b/types/es-abstract/2023/DeletePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DeletePropertyOrThrow = require("../2022/DeletePropertyOrThrow"); +export = DeletePropertyOrThrow; diff --git a/types/es-abstract/2023/FlattenIntoArray.d.ts b/types/es-abstract/2023/FlattenIntoArray.d.ts new file mode 100644 index 00000000000000..2922aa23aaa578 --- /dev/null +++ b/types/es-abstract/2023/FlattenIntoArray.d.ts @@ -0,0 +1,2 @@ +import FlattenIntoArray = require("../2022/FlattenIntoArray"); +export = FlattenIntoArray; diff --git a/types/es-abstract/2023/FromPropertyDescriptor.d.ts b/types/es-abstract/2023/FromPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..5315444865ebac --- /dev/null +++ b/types/es-abstract/2023/FromPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import FromPropertyDescriptor = require("../2022/FromPropertyDescriptor"); +export = FromPropertyDescriptor; diff --git a/types/es-abstract/2023/Get.d.ts b/types/es-abstract/2023/Get.d.ts new file mode 100644 index 00000000000000..ed5e2fd2027516 --- /dev/null +++ b/types/es-abstract/2023/Get.d.ts @@ -0,0 +1,2 @@ +import Get = require("../2022/Get"); +export = Get; diff --git a/types/es-abstract/2023/GetIterator.d.ts b/types/es-abstract/2023/GetIterator.d.ts new file mode 100644 index 00000000000000..d0a77ba379fae0 --- /dev/null +++ b/types/es-abstract/2023/GetIterator.d.ts @@ -0,0 +1,2 @@ +import GetIterator = require("../2022/GetIterator"); +export = GetIterator; diff --git a/types/es-abstract/2023/GetMethod.d.ts b/types/es-abstract/2023/GetMethod.d.ts new file mode 100644 index 00000000000000..f3aa5a8d9ea3b6 --- /dev/null +++ b/types/es-abstract/2023/GetMethod.d.ts @@ -0,0 +1,2 @@ +import GetMethod = require("../2022/GetMethod"); +export = GetMethod; diff --git a/types/es-abstract/2023/GetOwnPropertyKeys.d.ts b/types/es-abstract/2023/GetOwnPropertyKeys.d.ts new file mode 100644 index 00000000000000..128ae5f62884e2 --- /dev/null +++ b/types/es-abstract/2023/GetOwnPropertyKeys.d.ts @@ -0,0 +1,2 @@ +import GetOwnPropertyKeys = require("../2022/GetOwnPropertyKeys"); +export = GetOwnPropertyKeys; diff --git a/types/es-abstract/2023/GetPrototypeFromConstructor.d.ts b/types/es-abstract/2023/GetPrototypeFromConstructor.d.ts new file mode 100644 index 00000000000000..87a4a9afb2dd97 --- /dev/null +++ b/types/es-abstract/2023/GetPrototypeFromConstructor.d.ts @@ -0,0 +1,2 @@ +import GetPrototypeFromConstructor = require("../2022/GetPrototypeFromConstructor"); +export = GetPrototypeFromConstructor; diff --git a/types/es-abstract/2023/GetSubstitution.d.ts b/types/es-abstract/2023/GetSubstitution.d.ts new file mode 100644 index 00000000000000..28ee519a52d3ff --- /dev/null +++ b/types/es-abstract/2023/GetSubstitution.d.ts @@ -0,0 +1,2 @@ +import GetSubstitution = require("../2022/GetSubstitution"); +export = GetSubstitution; diff --git a/types/es-abstract/2023/GetV.d.ts b/types/es-abstract/2023/GetV.d.ts new file mode 100644 index 00000000000000..a0ddc47aeee2dd --- /dev/null +++ b/types/es-abstract/2023/GetV.d.ts @@ -0,0 +1,2 @@ +import GetV = require("../2022/GetV"); +export = GetV; diff --git a/types/es-abstract/2023/HasOwnProperty.d.ts b/types/es-abstract/2023/HasOwnProperty.d.ts new file mode 100644 index 00000000000000..307ea424e52bc4 --- /dev/null +++ b/types/es-abstract/2023/HasOwnProperty.d.ts @@ -0,0 +1,2 @@ +import HasOwnProperty = require("../2022/HasOwnProperty"); +export = HasOwnProperty; diff --git a/types/es-abstract/2023/HasProperty.d.ts b/types/es-abstract/2023/HasProperty.d.ts new file mode 100644 index 00000000000000..e9e22b6a1d522a --- /dev/null +++ b/types/es-abstract/2023/HasProperty.d.ts @@ -0,0 +1,2 @@ +import HasProperty = require("../2022/HasProperty"); +export = HasProperty; diff --git a/types/es-abstract/2023/HourFromTime.d.ts b/types/es-abstract/2023/HourFromTime.d.ts new file mode 100644 index 00000000000000..109cf86fc18810 --- /dev/null +++ b/types/es-abstract/2023/HourFromTime.d.ts @@ -0,0 +1,2 @@ +import HourFromTime = require("../2022/HourFromTime"); +export = HourFromTime; diff --git a/types/es-abstract/2023/InLeapYear.d.ts b/types/es-abstract/2023/InLeapYear.d.ts new file mode 100644 index 00000000000000..694295c03dfa74 --- /dev/null +++ b/types/es-abstract/2023/InLeapYear.d.ts @@ -0,0 +1,2 @@ +import InLeapYear = require("../2022/InLeapYear"); +export = InLeapYear; diff --git a/types/es-abstract/2023/InstanceofOperator.d.ts b/types/es-abstract/2023/InstanceofOperator.d.ts new file mode 100644 index 00000000000000..4feb34661d6c51 --- /dev/null +++ b/types/es-abstract/2023/InstanceofOperator.d.ts @@ -0,0 +1,2 @@ +import InstanceofOperator = require("../2022/InstanceofOperator"); +export = InstanceofOperator; diff --git a/types/es-abstract/2023/Invoke.d.ts b/types/es-abstract/2023/Invoke.d.ts new file mode 100644 index 00000000000000..74739937233239 --- /dev/null +++ b/types/es-abstract/2023/Invoke.d.ts @@ -0,0 +1,2 @@ +import Invoke = require("../2022/Invoke"); +export = Invoke; diff --git a/types/es-abstract/2023/IsAccessorDescriptor.d.ts b/types/es-abstract/2023/IsAccessorDescriptor.d.ts new file mode 100644 index 00000000000000..19b6ed5f03de83 --- /dev/null +++ b/types/es-abstract/2023/IsAccessorDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsAccessorDescriptor = require("../2022/IsAccessorDescriptor"); +export = IsAccessorDescriptor; diff --git a/types/es-abstract/2023/IsArray.d.ts b/types/es-abstract/2023/IsArray.d.ts new file mode 100644 index 00000000000000..20a1d889c8f943 --- /dev/null +++ b/types/es-abstract/2023/IsArray.d.ts @@ -0,0 +1,2 @@ +import IsArray = require("../2022/IsArray"); +export = IsArray; diff --git a/types/es-abstract/2023/IsCallable.d.ts b/types/es-abstract/2023/IsCallable.d.ts new file mode 100644 index 00000000000000..3570cdb0028cc1 --- /dev/null +++ b/types/es-abstract/2023/IsCallable.d.ts @@ -0,0 +1,2 @@ +import IsCallable = require("../2022/IsCallable"); +export = IsCallable; diff --git a/types/es-abstract/2023/IsConcatSpreadable.d.ts b/types/es-abstract/2023/IsConcatSpreadable.d.ts new file mode 100644 index 00000000000000..e7d98d355a76df --- /dev/null +++ b/types/es-abstract/2023/IsConcatSpreadable.d.ts @@ -0,0 +1,2 @@ +import IsConcatSpreadable = require("../2022/IsConcatSpreadable"); +export = IsConcatSpreadable; diff --git a/types/es-abstract/2023/IsConstructor.d.ts b/types/es-abstract/2023/IsConstructor.d.ts new file mode 100644 index 00000000000000..83485d384e9347 --- /dev/null +++ b/types/es-abstract/2023/IsConstructor.d.ts @@ -0,0 +1,2 @@ +import IsConstructor = require("../2022/IsConstructor"); +export = IsConstructor; diff --git a/types/es-abstract/2023/IsDataDescriptor.d.ts b/types/es-abstract/2023/IsDataDescriptor.d.ts new file mode 100644 index 00000000000000..aae9e0c50583d5 --- /dev/null +++ b/types/es-abstract/2023/IsDataDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsDataDescriptor = require("../2022/IsDataDescriptor"); +export = IsDataDescriptor; diff --git a/types/es-abstract/2023/IsExtensible.d.ts b/types/es-abstract/2023/IsExtensible.d.ts new file mode 100644 index 00000000000000..059ea6867e6c6b --- /dev/null +++ b/types/es-abstract/2023/IsExtensible.d.ts @@ -0,0 +1,2 @@ +import IsExtensible = require("../2022/IsExtensible"); +export = IsExtensible; diff --git a/types/es-abstract/2023/IsGenericDescriptor.d.ts b/types/es-abstract/2023/IsGenericDescriptor.d.ts new file mode 100644 index 00000000000000..a060e74899fbaa --- /dev/null +++ b/types/es-abstract/2023/IsGenericDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsGenericDescriptor = require("../2022/IsGenericDescriptor"); +export = IsGenericDescriptor; diff --git a/types/es-abstract/2023/IsIntegralNumber.d.ts b/types/es-abstract/2023/IsIntegralNumber.d.ts new file mode 100644 index 00000000000000..a25b1c31379408 --- /dev/null +++ b/types/es-abstract/2023/IsIntegralNumber.d.ts @@ -0,0 +1,2 @@ +import IsIntegralNumber = require("../2022/IsIntegralNumber"); +export = IsIntegralNumber; diff --git a/types/es-abstract/2023/IsLessThan.d.ts b/types/es-abstract/2023/IsLessThan.d.ts new file mode 100644 index 00000000000000..1178f67bffb520 --- /dev/null +++ b/types/es-abstract/2023/IsLessThan.d.ts @@ -0,0 +1,2 @@ +import IsLessThan = require("../2022/IsLessThan"); +export = IsLessThan; diff --git a/types/es-abstract/2023/IsLooselyEqual.d.ts b/types/es-abstract/2023/IsLooselyEqual.d.ts new file mode 100644 index 00000000000000..74b752bb051f4a --- /dev/null +++ b/types/es-abstract/2023/IsLooselyEqual.d.ts @@ -0,0 +1,2 @@ +import IsLooselyEqual = require("../2022/IsLooselyEqual"); +export = IsLooselyEqual; diff --git a/types/es-abstract/2023/IsPromise.d.ts b/types/es-abstract/2023/IsPromise.d.ts new file mode 100644 index 00000000000000..1d96dd58106fe1 --- /dev/null +++ b/types/es-abstract/2023/IsPromise.d.ts @@ -0,0 +1,2 @@ +import IsPromise = require("../2022/IsPromise"); +export = IsPromise; diff --git a/types/es-abstract/2023/IsPropertyKey.d.ts b/types/es-abstract/2023/IsPropertyKey.d.ts new file mode 100644 index 00000000000000..f98909d06f50a9 --- /dev/null +++ b/types/es-abstract/2023/IsPropertyKey.d.ts @@ -0,0 +1,2 @@ +import IsPropertyKey = require("../2022/IsPropertyKey"); +export = IsPropertyKey; diff --git a/types/es-abstract/2023/IsRegExp.d.ts b/types/es-abstract/2023/IsRegExp.d.ts new file mode 100644 index 00000000000000..66c628ca712519 --- /dev/null +++ b/types/es-abstract/2023/IsRegExp.d.ts @@ -0,0 +1,2 @@ +import IsRegExp = require("../2022/IsRegExp"); +export = IsRegExp; diff --git a/types/es-abstract/2023/IsStrictlyEqual.d.ts b/types/es-abstract/2023/IsStrictlyEqual.d.ts new file mode 100644 index 00000000000000..ea115ba64462a9 --- /dev/null +++ b/types/es-abstract/2023/IsStrictlyEqual.d.ts @@ -0,0 +1,2 @@ +import IsStrictlyEqual = require("../2022/IsStrictlyEqual"); +export = IsStrictlyEqual; diff --git a/types/es-abstract/2023/IteratorClose.d.ts b/types/es-abstract/2023/IteratorClose.d.ts new file mode 100644 index 00000000000000..c09dc4f11d1cd8 --- /dev/null +++ b/types/es-abstract/2023/IteratorClose.d.ts @@ -0,0 +1,2 @@ +import IteratorClose = require("../2022/IteratorClose"); +export = IteratorClose; diff --git a/types/es-abstract/2023/IteratorComplete.d.ts b/types/es-abstract/2023/IteratorComplete.d.ts new file mode 100644 index 00000000000000..b3209689f5969a --- /dev/null +++ b/types/es-abstract/2023/IteratorComplete.d.ts @@ -0,0 +1,2 @@ +import IteratorComplete = require("../2022/IteratorComplete"); +export = IteratorComplete; diff --git a/types/es-abstract/2023/IteratorNext.d.ts b/types/es-abstract/2023/IteratorNext.d.ts new file mode 100644 index 00000000000000..141faff5634046 --- /dev/null +++ b/types/es-abstract/2023/IteratorNext.d.ts @@ -0,0 +1,2 @@ +import IteratorNext = require("../2022/IteratorNext"); +export = IteratorNext; diff --git a/types/es-abstract/2023/IteratorStep.d.ts b/types/es-abstract/2023/IteratorStep.d.ts new file mode 100644 index 00000000000000..814a8d0bb5493c --- /dev/null +++ b/types/es-abstract/2023/IteratorStep.d.ts @@ -0,0 +1,2 @@ +import IteratorStep = require("../2022/IteratorStep"); +export = IteratorStep; diff --git a/types/es-abstract/2023/IteratorValue.d.ts b/types/es-abstract/2023/IteratorValue.d.ts new file mode 100644 index 00000000000000..be97db6058d2ab --- /dev/null +++ b/types/es-abstract/2023/IteratorValue.d.ts @@ -0,0 +1,2 @@ +import IteratorValue = require("../2022/IteratorValue"); +export = IteratorValue; diff --git a/types/es-abstract/2023/LengthOfArrayLike.d.ts b/types/es-abstract/2023/LengthOfArrayLike.d.ts new file mode 100644 index 00000000000000..840f7554fd7b30 --- /dev/null +++ b/types/es-abstract/2023/LengthOfArrayLike.d.ts @@ -0,0 +1,2 @@ +import LengthOfArrayLike = require("../2022/LengthOfArrayLike"); +export = LengthOfArrayLike; diff --git a/types/es-abstract/2023/MakeDate.d.ts b/types/es-abstract/2023/MakeDate.d.ts new file mode 100644 index 00000000000000..9148a64775830e --- /dev/null +++ b/types/es-abstract/2023/MakeDate.d.ts @@ -0,0 +1,2 @@ +import MakeDate = require("../2022/MakeDate"); +export = MakeDate; diff --git a/types/es-abstract/2023/MakeDay.d.ts b/types/es-abstract/2023/MakeDay.d.ts new file mode 100644 index 00000000000000..06bcdf330ca1a4 --- /dev/null +++ b/types/es-abstract/2023/MakeDay.d.ts @@ -0,0 +1,2 @@ +import MakeDay = require("../2022/MakeDay"); +export = MakeDay; diff --git a/types/es-abstract/2023/MakeTime.d.ts b/types/es-abstract/2023/MakeTime.d.ts new file mode 100644 index 00000000000000..e6c872bef18912 --- /dev/null +++ b/types/es-abstract/2023/MakeTime.d.ts @@ -0,0 +1,2 @@ +import MakeTime = require("../2022/MakeTime"); +export = MakeTime; diff --git a/types/es-abstract/2023/MinFromTime.d.ts b/types/es-abstract/2023/MinFromTime.d.ts new file mode 100644 index 00000000000000..1b8c9f3b3baf2b --- /dev/null +++ b/types/es-abstract/2023/MinFromTime.d.ts @@ -0,0 +1,2 @@ +import MinFromTime = require("../2022/MinFromTime"); +export = MinFromTime; diff --git a/types/es-abstract/2023/MonthFromTime.d.ts b/types/es-abstract/2023/MonthFromTime.d.ts new file mode 100644 index 00000000000000..d80be5957ce5fc --- /dev/null +++ b/types/es-abstract/2023/MonthFromTime.d.ts @@ -0,0 +1,2 @@ +import MonthFromTime = require("../2022/MonthFromTime"); +export = MonthFromTime; diff --git a/types/es-abstract/2023/NumberBitwiseOp.d.ts b/types/es-abstract/2023/NumberBitwiseOp.d.ts new file mode 100644 index 00000000000000..b3080f74c59b58 --- /dev/null +++ b/types/es-abstract/2023/NumberBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import NumberBitwiseOp = require("../2022/NumberBitwiseOp"); +export = NumberBitwiseOp; diff --git a/types/es-abstract/2023/NumberToBigInt.d.ts b/types/es-abstract/2023/NumberToBigInt.d.ts new file mode 100644 index 00000000000000..ad880a359cb85c --- /dev/null +++ b/types/es-abstract/2023/NumberToBigInt.d.ts @@ -0,0 +1,2 @@ +import NumberToBigInt = require("../2022/NumberToBigInt"); +export = NumberToBigInt; diff --git a/types/es-abstract/2023/OrdinaryDefineOwnProperty.d.ts b/types/es-abstract/2023/OrdinaryDefineOwnProperty.d.ts new file mode 100644 index 00000000000000..acf75eb8b8e17e --- /dev/null +++ b/types/es-abstract/2023/OrdinaryDefineOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryDefineOwnProperty = require("../2022/OrdinaryDefineOwnProperty"); +export = OrdinaryDefineOwnProperty; diff --git a/types/es-abstract/2023/OrdinaryGetOwnProperty.d.ts b/types/es-abstract/2023/OrdinaryGetOwnProperty.d.ts new file mode 100644 index 00000000000000..952a35fab078e9 --- /dev/null +++ b/types/es-abstract/2023/OrdinaryGetOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetOwnProperty = require("../2022/OrdinaryGetOwnProperty"); +export = OrdinaryGetOwnProperty; diff --git a/types/es-abstract/2023/OrdinaryGetPrototypeOf.d.ts b/types/es-abstract/2023/OrdinaryGetPrototypeOf.d.ts new file mode 100644 index 00000000000000..0d2bb034bc560a --- /dev/null +++ b/types/es-abstract/2023/OrdinaryGetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetPrototypeOf = require("../2022/OrdinaryGetPrototypeOf"); +export = OrdinaryGetPrototypeOf; diff --git a/types/es-abstract/2023/OrdinaryHasInstance.d.ts b/types/es-abstract/2023/OrdinaryHasInstance.d.ts new file mode 100644 index 00000000000000..9ec6904c2ffc4b --- /dev/null +++ b/types/es-abstract/2023/OrdinaryHasInstance.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasInstance = require("../2022/OrdinaryHasInstance"); +export = OrdinaryHasInstance; diff --git a/types/es-abstract/2023/OrdinaryHasProperty.d.ts b/types/es-abstract/2023/OrdinaryHasProperty.d.ts new file mode 100644 index 00000000000000..37a9d0f8658b22 --- /dev/null +++ b/types/es-abstract/2023/OrdinaryHasProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasProperty = require("../2022/OrdinaryHasProperty"); +export = OrdinaryHasProperty; diff --git a/types/es-abstract/2023/OrdinaryObjectCreate.d.ts b/types/es-abstract/2023/OrdinaryObjectCreate.d.ts new file mode 100644 index 00000000000000..4021f8e41ab61c --- /dev/null +++ b/types/es-abstract/2023/OrdinaryObjectCreate.d.ts @@ -0,0 +1,2 @@ +import OrdinaryObjectCreate = require("../2022/OrdinaryObjectCreate"); +export = OrdinaryObjectCreate; diff --git a/types/es-abstract/2023/OrdinarySetPrototypeOf.d.ts b/types/es-abstract/2023/OrdinarySetPrototypeOf.d.ts new file mode 100644 index 00000000000000..7c8b11a84e7294 --- /dev/null +++ b/types/es-abstract/2023/OrdinarySetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinarySetPrototypeOf = require("../2022/OrdinarySetPrototypeOf"); +export = OrdinarySetPrototypeOf; diff --git a/types/es-abstract/2023/PromiseResolve.d.ts b/types/es-abstract/2023/PromiseResolve.d.ts new file mode 100644 index 00000000000000..2d7bb7a338cee3 --- /dev/null +++ b/types/es-abstract/2023/PromiseResolve.d.ts @@ -0,0 +1,2 @@ +import PromiseResolve = require("../2022/PromiseResolve"); +export = PromiseResolve; diff --git a/types/es-abstract/2023/RegExpExec.d.ts b/types/es-abstract/2023/RegExpExec.d.ts new file mode 100644 index 00000000000000..11d54fb302c2bc --- /dev/null +++ b/types/es-abstract/2023/RegExpExec.d.ts @@ -0,0 +1,2 @@ +import RegExpExec = require("../2022/RegExpExec"); +export = RegExpExec; diff --git a/types/es-abstract/2023/RequireObjectCoercible.d.ts b/types/es-abstract/2023/RequireObjectCoercible.d.ts new file mode 100644 index 00000000000000..c912b94b345505 --- /dev/null +++ b/types/es-abstract/2023/RequireObjectCoercible.d.ts @@ -0,0 +1,2 @@ +import RequireObjectCoercible = require("../2022/RequireObjectCoercible"); +export = RequireObjectCoercible; diff --git a/types/es-abstract/2023/SameValue.d.ts b/types/es-abstract/2023/SameValue.d.ts new file mode 100644 index 00000000000000..1f251414767e69 --- /dev/null +++ b/types/es-abstract/2023/SameValue.d.ts @@ -0,0 +1,2 @@ +import SameValue = require("../2022/SameValue"); +export = SameValue; diff --git a/types/es-abstract/2023/SameValueNonNumber.d.ts b/types/es-abstract/2023/SameValueNonNumber.d.ts new file mode 100644 index 00000000000000..cc290e5b611008 --- /dev/null +++ b/types/es-abstract/2023/SameValueNonNumber.d.ts @@ -0,0 +1,2 @@ +declare function SameValueNonNumber>(x: T, y: T): boolean; +export = SameValueNonNumber; diff --git a/types/es-abstract/2023/SameValueZero.d.ts b/types/es-abstract/2023/SameValueZero.d.ts new file mode 100644 index 00000000000000..a3732de6837add --- /dev/null +++ b/types/es-abstract/2023/SameValueZero.d.ts @@ -0,0 +1,2 @@ +import SameValueZero = require("../2022/SameValueZero"); +export = SameValueZero; diff --git a/types/es-abstract/2023/SecFromTime.d.ts b/types/es-abstract/2023/SecFromTime.d.ts new file mode 100644 index 00000000000000..2b5bea94a7e4af --- /dev/null +++ b/types/es-abstract/2023/SecFromTime.d.ts @@ -0,0 +1,2 @@ +import SecFromTime = require("../2022/SecFromTime"); +export = SecFromTime; diff --git a/types/es-abstract/2023/Set.d.ts b/types/es-abstract/2023/Set.d.ts new file mode 100644 index 00000000000000..b287054c89d070 --- /dev/null +++ b/types/es-abstract/2023/Set.d.ts @@ -0,0 +1,2 @@ +import Set = require("../2022/Set"); +export = Set; diff --git a/types/es-abstract/2023/SetFunctionName.d.ts b/types/es-abstract/2023/SetFunctionName.d.ts new file mode 100644 index 00000000000000..7bd3fceadacaa8 --- /dev/null +++ b/types/es-abstract/2023/SetFunctionName.d.ts @@ -0,0 +1,2 @@ +import SetFunctionName = require("../2022/SetFunctionName"); +export = SetFunctionName; diff --git a/types/es-abstract/2023/SetIntegrityLevel.d.ts b/types/es-abstract/2023/SetIntegrityLevel.d.ts new file mode 100644 index 00000000000000..6ea53a4912a25b --- /dev/null +++ b/types/es-abstract/2023/SetIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import SetIntegrityLevel = require("../2022/SetIntegrityLevel"); +export = SetIntegrityLevel; diff --git a/types/es-abstract/2023/SpeciesConstructor.d.ts b/types/es-abstract/2023/SpeciesConstructor.d.ts new file mode 100644 index 00000000000000..f1a411cee7990a --- /dev/null +++ b/types/es-abstract/2023/SpeciesConstructor.d.ts @@ -0,0 +1,2 @@ +import SpeciesConstructor = require("../2022/SpeciesConstructor"); +export = SpeciesConstructor; diff --git a/types/es-abstract/2023/StringIndexOf.d.ts b/types/es-abstract/2023/StringIndexOf.d.ts new file mode 100644 index 00000000000000..f364e9a08f7831 --- /dev/null +++ b/types/es-abstract/2023/StringIndexOf.d.ts @@ -0,0 +1,2 @@ +import StringIndexOf = require("../2022/StringIndexOf"); +export = StringIndexOf; diff --git a/types/es-abstract/2023/StringPad.d.ts b/types/es-abstract/2023/StringPad.d.ts new file mode 100644 index 00000000000000..a759d9710b9921 --- /dev/null +++ b/types/es-abstract/2023/StringPad.d.ts @@ -0,0 +1,2 @@ +import StringPad = require("../2022/StringPad"); +export = StringPad; diff --git a/types/es-abstract/2023/StringToBigInt.d.ts b/types/es-abstract/2023/StringToBigInt.d.ts new file mode 100644 index 00000000000000..7c11e381e5d879 --- /dev/null +++ b/types/es-abstract/2023/StringToBigInt.d.ts @@ -0,0 +1,2 @@ +import StringToBigInt = require("../2022/StringToBigInt"); +export = StringToBigInt; diff --git a/types/es-abstract/2023/StringToCodePoints.d.ts b/types/es-abstract/2023/StringToCodePoints.d.ts new file mode 100644 index 00000000000000..a185bd4cbd0094 --- /dev/null +++ b/types/es-abstract/2023/StringToCodePoints.d.ts @@ -0,0 +1,2 @@ +import StringToCodePoints = require("../2022/StringToCodePoints"); +export = StringToCodePoints; diff --git a/types/es-abstract/2023/StringToNumber.d.ts b/types/es-abstract/2023/StringToNumber.d.ts new file mode 100644 index 00000000000000..f7bca1e9b6cb41 --- /dev/null +++ b/types/es-abstract/2023/StringToNumber.d.ts @@ -0,0 +1,2 @@ +import StringToNumber = require("../2022/StringToNumber"); +export = StringToNumber; diff --git a/types/es-abstract/2023/SymbolDescriptiveString.d.ts b/types/es-abstract/2023/SymbolDescriptiveString.d.ts new file mode 100644 index 00000000000000..4e56e9c1bc215b --- /dev/null +++ b/types/es-abstract/2023/SymbolDescriptiveString.d.ts @@ -0,0 +1,2 @@ +import SymbolDescriptiveString = require("../2022/SymbolDescriptiveString"); +export = SymbolDescriptiveString; diff --git a/types/es-abstract/2023/TestIntegrityLevel.d.ts b/types/es-abstract/2023/TestIntegrityLevel.d.ts new file mode 100644 index 00000000000000..8d4b8b15668a4f --- /dev/null +++ b/types/es-abstract/2023/TestIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import TestIntegrityLevel = require("../2022/TestIntegrityLevel"); +export = TestIntegrityLevel; diff --git a/types/es-abstract/2023/TimeClip.d.ts b/types/es-abstract/2023/TimeClip.d.ts new file mode 100644 index 00000000000000..ae8572fb05d09e --- /dev/null +++ b/types/es-abstract/2023/TimeClip.d.ts @@ -0,0 +1,2 @@ +import TimeClip = require("../2022/TimeClip"); +export = TimeClip; diff --git a/types/es-abstract/2023/TimeFromYear.d.ts b/types/es-abstract/2023/TimeFromYear.d.ts new file mode 100644 index 00000000000000..cedbf81a58243a --- /dev/null +++ b/types/es-abstract/2023/TimeFromYear.d.ts @@ -0,0 +1,2 @@ +import TimeFromYear = require("../2022/TimeFromYear"); +export = TimeFromYear; diff --git a/types/es-abstract/2023/TimeString.d.ts b/types/es-abstract/2023/TimeString.d.ts new file mode 100644 index 00000000000000..32318a861d88d1 --- /dev/null +++ b/types/es-abstract/2023/TimeString.d.ts @@ -0,0 +1,2 @@ +import TimeString = require("../2022/TimeString"); +export = TimeString; diff --git a/types/es-abstract/2023/TimeWithinDay.d.ts b/types/es-abstract/2023/TimeWithinDay.d.ts new file mode 100644 index 00000000000000..28a10065d19c69 --- /dev/null +++ b/types/es-abstract/2023/TimeWithinDay.d.ts @@ -0,0 +1,2 @@ +import TimeWithinDay = require("../2022/TimeWithinDay"); +export = TimeWithinDay; diff --git a/types/es-abstract/2023/ToBigInt.d.ts b/types/es-abstract/2023/ToBigInt.d.ts new file mode 100644 index 00000000000000..fcdd1d915f933d --- /dev/null +++ b/types/es-abstract/2023/ToBigInt.d.ts @@ -0,0 +1,2 @@ +import ToBigInt = require("../2022/ToBigInt"); +export = ToBigInt; diff --git a/types/es-abstract/2023/ToBigInt64.d.ts b/types/es-abstract/2023/ToBigInt64.d.ts new file mode 100644 index 00000000000000..0beba081db2688 --- /dev/null +++ b/types/es-abstract/2023/ToBigInt64.d.ts @@ -0,0 +1,2 @@ +import ToBigInt64 = require("../2022/ToBigInt64"); +export = ToBigInt64; diff --git a/types/es-abstract/2023/ToBigUint64.d.ts b/types/es-abstract/2023/ToBigUint64.d.ts new file mode 100644 index 00000000000000..4932928a23a606 --- /dev/null +++ b/types/es-abstract/2023/ToBigUint64.d.ts @@ -0,0 +1,2 @@ +import ToBigUint64 = require("../2022/ToBigUint64"); +export = ToBigUint64; diff --git a/types/es-abstract/2023/ToBoolean.d.ts b/types/es-abstract/2023/ToBoolean.d.ts new file mode 100644 index 00000000000000..717a87edc04e28 --- /dev/null +++ b/types/es-abstract/2023/ToBoolean.d.ts @@ -0,0 +1,2 @@ +import ToBoolean = require("../2022/ToBoolean"); +export = ToBoolean; diff --git a/types/es-abstract/2023/ToDateString.d.ts b/types/es-abstract/2023/ToDateString.d.ts new file mode 100644 index 00000000000000..464fd1ea8ffb17 --- /dev/null +++ b/types/es-abstract/2023/ToDateString.d.ts @@ -0,0 +1,2 @@ +import ToDateString = require("../2022/ToDateString"); +export = ToDateString; diff --git a/types/es-abstract/2023/ToIndex.d.ts b/types/es-abstract/2023/ToIndex.d.ts new file mode 100644 index 00000000000000..655d25c91291c4 --- /dev/null +++ b/types/es-abstract/2023/ToIndex.d.ts @@ -0,0 +1,2 @@ +import ToIndex = require("../2022/ToIndex"); +export = ToIndex; diff --git a/types/es-abstract/2023/ToInt16.d.ts b/types/es-abstract/2023/ToInt16.d.ts new file mode 100644 index 00000000000000..88de08b19c86a6 --- /dev/null +++ b/types/es-abstract/2023/ToInt16.d.ts @@ -0,0 +1,2 @@ +import ToInt16 = require("../2022/ToInt16"); +export = ToInt16; diff --git a/types/es-abstract/2023/ToInt32.d.ts b/types/es-abstract/2023/ToInt32.d.ts new file mode 100644 index 00000000000000..54075905e63772 --- /dev/null +++ b/types/es-abstract/2023/ToInt32.d.ts @@ -0,0 +1,2 @@ +import ToInt32 = require("../2022/ToInt32"); +export = ToInt32; diff --git a/types/es-abstract/2023/ToInt8.d.ts b/types/es-abstract/2023/ToInt8.d.ts new file mode 100644 index 00000000000000..f7c36788e79393 --- /dev/null +++ b/types/es-abstract/2023/ToInt8.d.ts @@ -0,0 +1,2 @@ +import ToInt8 = require("../2022/ToInt8"); +export = ToInt8; diff --git a/types/es-abstract/2023/ToIntegerOrInfinity.d.ts b/types/es-abstract/2023/ToIntegerOrInfinity.d.ts new file mode 100644 index 00000000000000..555215953153cc --- /dev/null +++ b/types/es-abstract/2023/ToIntegerOrInfinity.d.ts @@ -0,0 +1,2 @@ +import ToIntegerOrInfinity = require("../2022/ToIntegerOrInfinity"); +export = ToIntegerOrInfinity; diff --git a/types/es-abstract/2023/ToLength.d.ts b/types/es-abstract/2023/ToLength.d.ts new file mode 100644 index 00000000000000..999d7bacc56b85 --- /dev/null +++ b/types/es-abstract/2023/ToLength.d.ts @@ -0,0 +1,2 @@ +import ToLength = require("../2022/ToLength"); +export = ToLength; diff --git a/types/es-abstract/2023/ToNumber.d.ts b/types/es-abstract/2023/ToNumber.d.ts new file mode 100644 index 00000000000000..a8464d399cc82c --- /dev/null +++ b/types/es-abstract/2023/ToNumber.d.ts @@ -0,0 +1,2 @@ +import ToNumber = require("../2022/ToNumber"); +export = ToNumber; diff --git a/types/es-abstract/2023/ToNumeric.d.ts b/types/es-abstract/2023/ToNumeric.d.ts new file mode 100644 index 00000000000000..d441c3b6960aa3 --- /dev/null +++ b/types/es-abstract/2023/ToNumeric.d.ts @@ -0,0 +1,2 @@ +import ToNumeric = require("../2022/ToNumeric"); +export = ToNumeric; diff --git a/types/es-abstract/2023/ToObject.d.ts b/types/es-abstract/2023/ToObject.d.ts new file mode 100644 index 00000000000000..71e81d191a5b27 --- /dev/null +++ b/types/es-abstract/2023/ToObject.d.ts @@ -0,0 +1,2 @@ +import ToObject = require("../2022/ToObject"); +export = ToObject; diff --git a/types/es-abstract/2023/ToPrimitive.d.ts b/types/es-abstract/2023/ToPrimitive.d.ts new file mode 100644 index 00000000000000..41092d2f578b64 --- /dev/null +++ b/types/es-abstract/2023/ToPrimitive.d.ts @@ -0,0 +1,2 @@ +import ToPrimitive = require("../2022/ToPrimitive"); +export = ToPrimitive; diff --git a/types/es-abstract/2023/ToPropertyDescriptor.d.ts b/types/es-abstract/2023/ToPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..75c63ba296fd47 --- /dev/null +++ b/types/es-abstract/2023/ToPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ToPropertyDescriptor = require("../2022/ToPropertyDescriptor"); +export = ToPropertyDescriptor; diff --git a/types/es-abstract/2023/ToPropertyKey.d.ts b/types/es-abstract/2023/ToPropertyKey.d.ts new file mode 100644 index 00000000000000..a388012a042292 --- /dev/null +++ b/types/es-abstract/2023/ToPropertyKey.d.ts @@ -0,0 +1,2 @@ +import ToPropertyKey = require("../2022/ToPropertyKey"); +export = ToPropertyKey; diff --git a/types/es-abstract/2023/ToString.d.ts b/types/es-abstract/2023/ToString.d.ts new file mode 100644 index 00000000000000..20c5c8031a7abe --- /dev/null +++ b/types/es-abstract/2023/ToString.d.ts @@ -0,0 +1,2 @@ +import ToString = require("../2022/ToString"); +export = ToString; diff --git a/types/es-abstract/2023/ToUint16.d.ts b/types/es-abstract/2023/ToUint16.d.ts new file mode 100644 index 00000000000000..2139c60db55b6a --- /dev/null +++ b/types/es-abstract/2023/ToUint16.d.ts @@ -0,0 +1,2 @@ +import ToUint16 = require("../2022/ToUint16"); +export = ToUint16; diff --git a/types/es-abstract/2023/ToUint32.d.ts b/types/es-abstract/2023/ToUint32.d.ts new file mode 100644 index 00000000000000..a3f5f49abaff8b --- /dev/null +++ b/types/es-abstract/2023/ToUint32.d.ts @@ -0,0 +1,2 @@ +import ToUint32 = require("../2022/ToUint32"); +export = ToUint32; diff --git a/types/es-abstract/2023/ToUint8.d.ts b/types/es-abstract/2023/ToUint8.d.ts new file mode 100644 index 00000000000000..fd6c46a3265216 --- /dev/null +++ b/types/es-abstract/2023/ToUint8.d.ts @@ -0,0 +1,2 @@ +import ToUint8 = require("../2022/ToUint8"); +export = ToUint8; diff --git a/types/es-abstract/2023/ToUint8Clamp.d.ts b/types/es-abstract/2023/ToUint8Clamp.d.ts new file mode 100644 index 00000000000000..b97261c75750ce --- /dev/null +++ b/types/es-abstract/2023/ToUint8Clamp.d.ts @@ -0,0 +1,2 @@ +import ToUint8Clamp = require("../2022/ToUint8Clamp"); +export = ToUint8Clamp; diff --git a/types/es-abstract/2023/TrimString.d.ts b/types/es-abstract/2023/TrimString.d.ts new file mode 100644 index 00000000000000..fca158643989cd --- /dev/null +++ b/types/es-abstract/2023/TrimString.d.ts @@ -0,0 +1,2 @@ +import TrimString = require("../2022/TrimString"); +export = TrimString; diff --git a/types/es-abstract/2023/Type.d.ts b/types/es-abstract/2023/Type.d.ts new file mode 100644 index 00000000000000..56ee6486e2723a --- /dev/null +++ b/types/es-abstract/2023/Type.d.ts @@ -0,0 +1,2 @@ +import Type = require("../2022/Type"); +export = Type; diff --git a/types/es-abstract/2023/ValidateAndApplyPropertyDescriptor.d.ts b/types/es-abstract/2023/ValidateAndApplyPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..0e7639b004e9b4 --- /dev/null +++ b/types/es-abstract/2023/ValidateAndApplyPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ValidateAndApplyPropertyDescriptor = require("../2022/ValidateAndApplyPropertyDescriptor"); +export = ValidateAndApplyPropertyDescriptor; diff --git a/types/es-abstract/2023/WeekDay.d.ts b/types/es-abstract/2023/WeekDay.d.ts new file mode 100644 index 00000000000000..7ba49d64181a97 --- /dev/null +++ b/types/es-abstract/2023/WeekDay.d.ts @@ -0,0 +1,2 @@ +import WeekDay = require("../2022/WeekDay"); +export = WeekDay; diff --git a/types/es-abstract/2023/YearFromTime.d.ts b/types/es-abstract/2023/YearFromTime.d.ts new file mode 100644 index 00000000000000..a2893cf3401bb2 --- /dev/null +++ b/types/es-abstract/2023/YearFromTime.d.ts @@ -0,0 +1,2 @@ +import YearFromTime = require("../2022/YearFromTime"); +export = YearFromTime; diff --git a/types/es-abstract/2023/clamp.d.ts b/types/es-abstract/2023/clamp.d.ts new file mode 100644 index 00000000000000..ad2b06bc734734 --- /dev/null +++ b/types/es-abstract/2023/clamp.d.ts @@ -0,0 +1,2 @@ +import clamp = require("../2022/clamp"); +export = clamp; diff --git a/types/es-abstract/2023/modulo.d.ts b/types/es-abstract/2023/modulo.d.ts new file mode 100644 index 00000000000000..088287538f96db --- /dev/null +++ b/types/es-abstract/2023/modulo.d.ts @@ -0,0 +1,2 @@ +import modulo = require("../2022/modulo"); +export = modulo; diff --git a/types/es-abstract/2023/msFromTime.d.ts b/types/es-abstract/2023/msFromTime.d.ts new file mode 100644 index 00000000000000..45028ec79e0106 --- /dev/null +++ b/types/es-abstract/2023/msFromTime.d.ts @@ -0,0 +1,2 @@ +import msFromTime = require("../2022/msFromTime"); +export = msFromTime; diff --git a/types/es-abstract/2023/substring.d.ts b/types/es-abstract/2023/substring.d.ts new file mode 100644 index 00000000000000..b977a2b086e459 --- /dev/null +++ b/types/es-abstract/2023/substring.d.ts @@ -0,0 +1,2 @@ +import substring = require("../2022/substring"); +export = substring; diff --git a/types/es-abstract/2023/thisBigIntValue.d.ts b/types/es-abstract/2023/thisBigIntValue.d.ts new file mode 100644 index 00000000000000..9f6e9e6c293212 --- /dev/null +++ b/types/es-abstract/2023/thisBigIntValue.d.ts @@ -0,0 +1,2 @@ +import thisBigIntValue = require("../2022/thisBigIntValue"); +export = thisBigIntValue; diff --git a/types/es-abstract/2023/thisBooleanValue.d.ts b/types/es-abstract/2023/thisBooleanValue.d.ts new file mode 100644 index 00000000000000..60dea91801f95f --- /dev/null +++ b/types/es-abstract/2023/thisBooleanValue.d.ts @@ -0,0 +1,2 @@ +import thisBooleanValue = require("../2022/thisBooleanValue"); +export = thisBooleanValue; diff --git a/types/es-abstract/2023/thisNumberValue.d.ts b/types/es-abstract/2023/thisNumberValue.d.ts new file mode 100644 index 00000000000000..a97c3fb74445a0 --- /dev/null +++ b/types/es-abstract/2023/thisNumberValue.d.ts @@ -0,0 +1,2 @@ +import thisNumberValue = require("../2022/thisNumberValue"); +export = thisNumberValue; diff --git a/types/es-abstract/2023/thisStringValue.d.ts b/types/es-abstract/2023/thisStringValue.d.ts new file mode 100644 index 00000000000000..fa7b4cfc4ecf19 --- /dev/null +++ b/types/es-abstract/2023/thisStringValue.d.ts @@ -0,0 +1,2 @@ +import thisStringValue = require("../2022/thisStringValue"); +export = thisStringValue; diff --git a/types/es-abstract/2023/thisSymbolValue.d.ts b/types/es-abstract/2023/thisSymbolValue.d.ts new file mode 100644 index 00000000000000..8954dde94ab9dd --- /dev/null +++ b/types/es-abstract/2023/thisSymbolValue.d.ts @@ -0,0 +1,2 @@ +import thisSymbolValue = require("../2022/thisSymbolValue"); +export = thisSymbolValue; diff --git a/types/es-abstract/2023/thisTimeValue.d.ts b/types/es-abstract/2023/thisTimeValue.d.ts new file mode 100644 index 00000000000000..334043f164e064 --- /dev/null +++ b/types/es-abstract/2023/thisTimeValue.d.ts @@ -0,0 +1,2 @@ +import thisTimeValue = require("../2022/thisTimeValue"); +export = thisTimeValue; diff --git a/types/es-abstract/2023/truncate.d.ts b/types/es-abstract/2023/truncate.d.ts new file mode 100644 index 00000000000000..a2aa8047d16cd2 --- /dev/null +++ b/types/es-abstract/2023/truncate.d.ts @@ -0,0 +1,2 @@ +declare function truncate(x: number): number; +export = truncate; diff --git a/types/es-abstract/2024/AddEntriesFromIterable.d.ts b/types/es-abstract/2024/AddEntriesFromIterable.d.ts new file mode 100644 index 00000000000000..a9a5e6a8f46675 --- /dev/null +++ b/types/es-abstract/2024/AddEntriesFromIterable.d.ts @@ -0,0 +1,2 @@ +import AddEntriesFromIterable = require("../2023/AddEntriesFromIterable"); +export = AddEntriesFromIterable; diff --git a/types/es-abstract/2024/AdvanceStringIndex.d.ts b/types/es-abstract/2024/AdvanceStringIndex.d.ts new file mode 100644 index 00000000000000..d755ef79fb5ba5 --- /dev/null +++ b/types/es-abstract/2024/AdvanceStringIndex.d.ts @@ -0,0 +1,2 @@ +import AdvanceStringIndex = require("../2023/AdvanceStringIndex"); +export = AdvanceStringIndex; diff --git a/types/es-abstract/2024/ArrayCreate.d.ts b/types/es-abstract/2024/ArrayCreate.d.ts new file mode 100644 index 00000000000000..642dc7e448ddee --- /dev/null +++ b/types/es-abstract/2024/ArrayCreate.d.ts @@ -0,0 +1,2 @@ +import ArrayCreate = require("../2023/ArrayCreate"); +export = ArrayCreate; diff --git a/types/es-abstract/2024/ArraySetLength.d.ts b/types/es-abstract/2024/ArraySetLength.d.ts new file mode 100644 index 00000000000000..6200dfb747371c --- /dev/null +++ b/types/es-abstract/2024/ArraySetLength.d.ts @@ -0,0 +1,2 @@ +import ArraySetLength = require("../2023/ArraySetLength"); +export = ArraySetLength; diff --git a/types/es-abstract/2024/ArraySpeciesCreate.d.ts b/types/es-abstract/2024/ArraySpeciesCreate.d.ts new file mode 100644 index 00000000000000..505c1f87f69b9c --- /dev/null +++ b/types/es-abstract/2024/ArraySpeciesCreate.d.ts @@ -0,0 +1,2 @@ +import ArraySpeciesCreate = require("../2023/ArraySpeciesCreate"); +export = ArraySpeciesCreate; diff --git a/types/es-abstract/2024/BigIntBitwiseOp.d.ts b/types/es-abstract/2024/BigIntBitwiseOp.d.ts new file mode 100644 index 00000000000000..a0d753c2d93ec5 --- /dev/null +++ b/types/es-abstract/2024/BigIntBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import BigIntBitwiseOp = require("../2023/BigIntBitwiseOp"); +export = BigIntBitwiseOp; diff --git a/types/es-abstract/2024/BinaryAnd.d.ts b/types/es-abstract/2024/BinaryAnd.d.ts new file mode 100644 index 00000000000000..f3c08bb133d5eb --- /dev/null +++ b/types/es-abstract/2024/BinaryAnd.d.ts @@ -0,0 +1,2 @@ +import BinaryAnd = require("../2023/BinaryAnd"); +export = BinaryAnd; diff --git a/types/es-abstract/2024/BinaryOr.d.ts b/types/es-abstract/2024/BinaryOr.d.ts new file mode 100644 index 00000000000000..9b833901fab65f --- /dev/null +++ b/types/es-abstract/2024/BinaryOr.d.ts @@ -0,0 +1,2 @@ +import BinaryOr = require("../2023/BinaryOr"); +export = BinaryOr; diff --git a/types/es-abstract/2024/BinaryXor.d.ts b/types/es-abstract/2024/BinaryXor.d.ts new file mode 100644 index 00000000000000..0c68d9cd76aa05 --- /dev/null +++ b/types/es-abstract/2024/BinaryXor.d.ts @@ -0,0 +1,2 @@ +import BinaryXor = require("../2023/BinaryXor"); +export = BinaryXor; diff --git a/types/es-abstract/2024/Call.d.ts b/types/es-abstract/2024/Call.d.ts new file mode 100644 index 00000000000000..2ae18a6b7f42e6 --- /dev/null +++ b/types/es-abstract/2024/Call.d.ts @@ -0,0 +1,2 @@ +import Call = require("../2023/Call"); +export = Call; diff --git a/types/es-abstract/2024/CanBeHeldWeakly.d.ts b/types/es-abstract/2024/CanBeHeldWeakly.d.ts new file mode 100644 index 00000000000000..1cf16040b57657 --- /dev/null +++ b/types/es-abstract/2024/CanBeHeldWeakly.d.ts @@ -0,0 +1,2 @@ +import CanBeHeldWeakly = require("../2023/CanBeHeldWeakly"); +export = CanBeHeldWeakly; diff --git a/types/es-abstract/2024/CanonicalNumericIndexString.d.ts b/types/es-abstract/2024/CanonicalNumericIndexString.d.ts new file mode 100644 index 00000000000000..4a34570cb9af18 --- /dev/null +++ b/types/es-abstract/2024/CanonicalNumericIndexString.d.ts @@ -0,0 +1,2 @@ +import CanonicalNumericIndexString = require("../2023/CanonicalNumericIndexString"); +export = CanonicalNumericIndexString; diff --git a/types/es-abstract/2024/CodePointAt.d.ts b/types/es-abstract/2024/CodePointAt.d.ts new file mode 100644 index 00000000000000..acffe2b8e946c2 --- /dev/null +++ b/types/es-abstract/2024/CodePointAt.d.ts @@ -0,0 +1,2 @@ +import CodePointAt = require("../2023/CodePointAt"); +export = CodePointAt; diff --git a/types/es-abstract/2024/CodePointsToString.d.ts b/types/es-abstract/2024/CodePointsToString.d.ts new file mode 100644 index 00000000000000..9a94fafd67f43a --- /dev/null +++ b/types/es-abstract/2024/CodePointsToString.d.ts @@ -0,0 +1,2 @@ +import CodePointsToString = require("../2023/CodePointsToString"); +export = CodePointsToString; diff --git a/types/es-abstract/2024/CompletePropertyDescriptor.d.ts b/types/es-abstract/2024/CompletePropertyDescriptor.d.ts new file mode 100644 index 00000000000000..a9ae1c9fbe7363 --- /dev/null +++ b/types/es-abstract/2024/CompletePropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import CompletePropertyDescriptor = require("../2023/CompletePropertyDescriptor"); +export = CompletePropertyDescriptor; diff --git a/types/es-abstract/2024/CopyDataProperties.d.ts b/types/es-abstract/2024/CopyDataProperties.d.ts new file mode 100644 index 00000000000000..63ef7ba32809b4 --- /dev/null +++ b/types/es-abstract/2024/CopyDataProperties.d.ts @@ -0,0 +1,2 @@ +import CopyDataProperties = require("../2023/CopyDataProperties"); +export = CopyDataProperties; diff --git a/types/es-abstract/2024/CreateDataProperty.d.ts b/types/es-abstract/2024/CreateDataProperty.d.ts new file mode 100644 index 00000000000000..a947b125df32a3 --- /dev/null +++ b/types/es-abstract/2024/CreateDataProperty.d.ts @@ -0,0 +1,2 @@ +import CreateDataProperty = require("../2023/CreateDataProperty"); +export = CreateDataProperty; diff --git a/types/es-abstract/2024/CreateDataPropertyOrThrow.d.ts b/types/es-abstract/2024/CreateDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..8e970bee77d6fd --- /dev/null +++ b/types/es-abstract/2024/CreateDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateDataPropertyOrThrow = require("../2023/CreateDataPropertyOrThrow"); +export = CreateDataPropertyOrThrow; diff --git a/types/es-abstract/2024/CreateHTML.d.ts b/types/es-abstract/2024/CreateHTML.d.ts new file mode 100644 index 00000000000000..ad6e5e9fd2fa27 --- /dev/null +++ b/types/es-abstract/2024/CreateHTML.d.ts @@ -0,0 +1,2 @@ +import CreateHTML = require("../2023/CreateHTML"); +export = CreateHTML; diff --git a/types/es-abstract/2024/CreateIterResultObject.d.ts b/types/es-abstract/2024/CreateIterResultObject.d.ts new file mode 100644 index 00000000000000..794cadd88189d9 --- /dev/null +++ b/types/es-abstract/2024/CreateIterResultObject.d.ts @@ -0,0 +1,2 @@ +import CreateIterResultObject = require("../2023/CreateIterResultObject"); +export = CreateIterResultObject; diff --git a/types/es-abstract/2024/CreateListFromArrayLike.d.ts b/types/es-abstract/2024/CreateListFromArrayLike.d.ts new file mode 100644 index 00000000000000..491a8a2267459b --- /dev/null +++ b/types/es-abstract/2024/CreateListFromArrayLike.d.ts @@ -0,0 +1,2 @@ +import CreateListFromArrayLike = require("../2023/CreateListFromArrayLike"); +export = CreateListFromArrayLike; diff --git a/types/es-abstract/2024/CreateNonEnumerableDataPropertyOrThrow.d.ts b/types/es-abstract/2024/CreateNonEnumerableDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..0e03fa8fa95f7e --- /dev/null +++ b/types/es-abstract/2024/CreateNonEnumerableDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateNonEnumerableDataPropertyOrThrow = require("../2023/CreateNonEnumerableDataPropertyOrThrow"); +export = CreateNonEnumerableDataPropertyOrThrow; diff --git a/types/es-abstract/2024/CreateRegExpStringIterator.d.ts b/types/es-abstract/2024/CreateRegExpStringIterator.d.ts new file mode 100644 index 00000000000000..2f357a753f76f5 --- /dev/null +++ b/types/es-abstract/2024/CreateRegExpStringIterator.d.ts @@ -0,0 +1,2 @@ +import CreateRegExpStringIterator = require("../2023/CreateRegExpStringIterator"); +export = CreateRegExpStringIterator; diff --git a/types/es-abstract/2024/DateFromTime.d.ts b/types/es-abstract/2024/DateFromTime.d.ts new file mode 100644 index 00000000000000..51dbd81417be1c --- /dev/null +++ b/types/es-abstract/2024/DateFromTime.d.ts @@ -0,0 +1,2 @@ +import DateFromTime = require("../2023/DateFromTime"); +export = DateFromTime; diff --git a/types/es-abstract/2024/DateString.d.ts b/types/es-abstract/2024/DateString.d.ts new file mode 100644 index 00000000000000..d6526a27756d89 --- /dev/null +++ b/types/es-abstract/2024/DateString.d.ts @@ -0,0 +1,2 @@ +import DateString = require("../2023/DateString"); +export = DateString; diff --git a/types/es-abstract/2024/Day.d.ts b/types/es-abstract/2024/Day.d.ts new file mode 100644 index 00000000000000..06ad9501ef643a --- /dev/null +++ b/types/es-abstract/2024/Day.d.ts @@ -0,0 +1,2 @@ +import Day = require("../2023/Day"); +export = Day; diff --git a/types/es-abstract/2024/DayFromYear.d.ts b/types/es-abstract/2024/DayFromYear.d.ts new file mode 100644 index 00000000000000..7fcb25ce21793d --- /dev/null +++ b/types/es-abstract/2024/DayFromYear.d.ts @@ -0,0 +1,2 @@ +import DayFromYear = require("../2023/DayFromYear"); +export = DayFromYear; diff --git a/types/es-abstract/2024/DayWithinYear.d.ts b/types/es-abstract/2024/DayWithinYear.d.ts new file mode 100644 index 00000000000000..0d346c4b5e4da7 --- /dev/null +++ b/types/es-abstract/2024/DayWithinYear.d.ts @@ -0,0 +1,2 @@ +import DayWithinYear = require("../2023/DayWithinYear"); +export = DayWithinYear; diff --git a/types/es-abstract/2024/DaysInYear.d.ts b/types/es-abstract/2024/DaysInYear.d.ts new file mode 100644 index 00000000000000..5338f4ab31166d --- /dev/null +++ b/types/es-abstract/2024/DaysInYear.d.ts @@ -0,0 +1,2 @@ +import DaysInYear = require("../2023/DaysInYear"); +export = DaysInYear; diff --git a/types/es-abstract/2024/DefineMethodProperty.d.ts b/types/es-abstract/2024/DefineMethodProperty.d.ts new file mode 100644 index 00000000000000..8d44b93dc64be3 --- /dev/null +++ b/types/es-abstract/2024/DefineMethodProperty.d.ts @@ -0,0 +1,2 @@ +import DefineMethodProperty = require("../2023/DefineMethodProperty"); +export = DefineMethodProperty; diff --git a/types/es-abstract/2024/DefinePropertyOrThrow.d.ts b/types/es-abstract/2024/DefinePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..3319e98ef549ab --- /dev/null +++ b/types/es-abstract/2024/DefinePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DefinePropertyOrThrow = require("../2023/DefinePropertyOrThrow"); +export = DefinePropertyOrThrow; diff --git a/types/es-abstract/2024/DeletePropertyOrThrow.d.ts b/types/es-abstract/2024/DeletePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..fe2884895784d8 --- /dev/null +++ b/types/es-abstract/2024/DeletePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DeletePropertyOrThrow = require("../2023/DeletePropertyOrThrow"); +export = DeletePropertyOrThrow; diff --git a/types/es-abstract/2024/FlattenIntoArray.d.ts b/types/es-abstract/2024/FlattenIntoArray.d.ts new file mode 100644 index 00000000000000..c140ceaeb3a59b --- /dev/null +++ b/types/es-abstract/2024/FlattenIntoArray.d.ts @@ -0,0 +1,2 @@ +import FlattenIntoArray = require("../2023/FlattenIntoArray"); +export = FlattenIntoArray; diff --git a/types/es-abstract/2024/FromPropertyDescriptor.d.ts b/types/es-abstract/2024/FromPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..9fbf04c6084b39 --- /dev/null +++ b/types/es-abstract/2024/FromPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import FromPropertyDescriptor = require("../2023/FromPropertyDescriptor"); +export = FromPropertyDescriptor; diff --git a/types/es-abstract/2024/Get.d.ts b/types/es-abstract/2024/Get.d.ts new file mode 100644 index 00000000000000..cb761ca97d519c --- /dev/null +++ b/types/es-abstract/2024/Get.d.ts @@ -0,0 +1,2 @@ +import Get = require("../2023/Get"); +export = Get; diff --git a/types/es-abstract/2024/GetIterator.d.ts b/types/es-abstract/2024/GetIterator.d.ts new file mode 100644 index 00000000000000..1c24bbe8acc556 --- /dev/null +++ b/types/es-abstract/2024/GetIterator.d.ts @@ -0,0 +1,2 @@ +import GetIterator = require("../2023/GetIterator"); +export = GetIterator; diff --git a/types/es-abstract/2024/GetMethod.d.ts b/types/es-abstract/2024/GetMethod.d.ts new file mode 100644 index 00000000000000..7debd9f5e39a6f --- /dev/null +++ b/types/es-abstract/2024/GetMethod.d.ts @@ -0,0 +1,2 @@ +import GetMethod = require("../2023/GetMethod"); +export = GetMethod; diff --git a/types/es-abstract/2024/GetOwnPropertyKeys.d.ts b/types/es-abstract/2024/GetOwnPropertyKeys.d.ts new file mode 100644 index 00000000000000..1d0a72a9fe6ff4 --- /dev/null +++ b/types/es-abstract/2024/GetOwnPropertyKeys.d.ts @@ -0,0 +1,2 @@ +import GetOwnPropertyKeys = require("../2023/GetOwnPropertyKeys"); +export = GetOwnPropertyKeys; diff --git a/types/es-abstract/2024/GetPrototypeFromConstructor.d.ts b/types/es-abstract/2024/GetPrototypeFromConstructor.d.ts new file mode 100644 index 00000000000000..4c00383b0f8e3e --- /dev/null +++ b/types/es-abstract/2024/GetPrototypeFromConstructor.d.ts @@ -0,0 +1,2 @@ +import GetPrototypeFromConstructor = require("../2023/GetPrototypeFromConstructor"); +export = GetPrototypeFromConstructor; diff --git a/types/es-abstract/2024/GetSubstitution.d.ts b/types/es-abstract/2024/GetSubstitution.d.ts new file mode 100644 index 00000000000000..8e8d4758418216 --- /dev/null +++ b/types/es-abstract/2024/GetSubstitution.d.ts @@ -0,0 +1,2 @@ +import GetSubstitution = require("../2023/GetSubstitution"); +export = GetSubstitution; diff --git a/types/es-abstract/2024/GetV.d.ts b/types/es-abstract/2024/GetV.d.ts new file mode 100644 index 00000000000000..05c0bf9dfad2c7 --- /dev/null +++ b/types/es-abstract/2024/GetV.d.ts @@ -0,0 +1,2 @@ +import GetV = require("../2023/GetV"); +export = GetV; diff --git a/types/es-abstract/2024/HasOwnProperty.d.ts b/types/es-abstract/2024/HasOwnProperty.d.ts new file mode 100644 index 00000000000000..7c027447c59ed1 --- /dev/null +++ b/types/es-abstract/2024/HasOwnProperty.d.ts @@ -0,0 +1,2 @@ +import HasOwnProperty = require("../2023/HasOwnProperty"); +export = HasOwnProperty; diff --git a/types/es-abstract/2024/HasProperty.d.ts b/types/es-abstract/2024/HasProperty.d.ts new file mode 100644 index 00000000000000..d652925d9e58c8 --- /dev/null +++ b/types/es-abstract/2024/HasProperty.d.ts @@ -0,0 +1,2 @@ +import HasProperty = require("../2023/HasProperty"); +export = HasProperty; diff --git a/types/es-abstract/2024/HourFromTime.d.ts b/types/es-abstract/2024/HourFromTime.d.ts new file mode 100644 index 00000000000000..c5f71565fb6ec8 --- /dev/null +++ b/types/es-abstract/2024/HourFromTime.d.ts @@ -0,0 +1,2 @@ +import HourFromTime = require("../2023/HourFromTime"); +export = HourFromTime; diff --git a/types/es-abstract/2024/InLeapYear.d.ts b/types/es-abstract/2024/InLeapYear.d.ts new file mode 100644 index 00000000000000..a18aa05c80778e --- /dev/null +++ b/types/es-abstract/2024/InLeapYear.d.ts @@ -0,0 +1,2 @@ +import InLeapYear = require("../2023/InLeapYear"); +export = InLeapYear; diff --git a/types/es-abstract/2024/InstanceofOperator.d.ts b/types/es-abstract/2024/InstanceofOperator.d.ts new file mode 100644 index 00000000000000..29efd05025d2db --- /dev/null +++ b/types/es-abstract/2024/InstanceofOperator.d.ts @@ -0,0 +1,2 @@ +import InstanceofOperator = require("../2023/InstanceofOperator"); +export = InstanceofOperator; diff --git a/types/es-abstract/2024/Invoke.d.ts b/types/es-abstract/2024/Invoke.d.ts new file mode 100644 index 00000000000000..ed8c9ebfae3a14 --- /dev/null +++ b/types/es-abstract/2024/Invoke.d.ts @@ -0,0 +1,2 @@ +import Invoke = require("../2023/Invoke"); +export = Invoke; diff --git a/types/es-abstract/2024/IsAccessorDescriptor.d.ts b/types/es-abstract/2024/IsAccessorDescriptor.d.ts new file mode 100644 index 00000000000000..c0fe02a287d7c2 --- /dev/null +++ b/types/es-abstract/2024/IsAccessorDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsAccessorDescriptor = require("../2023/IsAccessorDescriptor"); +export = IsAccessorDescriptor; diff --git a/types/es-abstract/2024/IsArray.d.ts b/types/es-abstract/2024/IsArray.d.ts new file mode 100644 index 00000000000000..b0f7a04eb3d1e4 --- /dev/null +++ b/types/es-abstract/2024/IsArray.d.ts @@ -0,0 +1,2 @@ +import IsArray = require("../2023/IsArray"); +export = IsArray; diff --git a/types/es-abstract/2024/IsCallable.d.ts b/types/es-abstract/2024/IsCallable.d.ts new file mode 100644 index 00000000000000..dcdb4c4753659f --- /dev/null +++ b/types/es-abstract/2024/IsCallable.d.ts @@ -0,0 +1,2 @@ +import IsCallable = require("../2023/IsCallable"); +export = IsCallable; diff --git a/types/es-abstract/2024/IsConcatSpreadable.d.ts b/types/es-abstract/2024/IsConcatSpreadable.d.ts new file mode 100644 index 00000000000000..fd4fa9074bc90b --- /dev/null +++ b/types/es-abstract/2024/IsConcatSpreadable.d.ts @@ -0,0 +1,2 @@ +import IsConcatSpreadable = require("../2023/IsConcatSpreadable"); +export = IsConcatSpreadable; diff --git a/types/es-abstract/2024/IsConstructor.d.ts b/types/es-abstract/2024/IsConstructor.d.ts new file mode 100644 index 00000000000000..15a9df418fcd50 --- /dev/null +++ b/types/es-abstract/2024/IsConstructor.d.ts @@ -0,0 +1,2 @@ +import IsConstructor = require("../2023/IsConstructor"); +export = IsConstructor; diff --git a/types/es-abstract/2024/IsDataDescriptor.d.ts b/types/es-abstract/2024/IsDataDescriptor.d.ts new file mode 100644 index 00000000000000..a19c495591a932 --- /dev/null +++ b/types/es-abstract/2024/IsDataDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsDataDescriptor = require("../2023/IsDataDescriptor"); +export = IsDataDescriptor; diff --git a/types/es-abstract/2024/IsExtensible.d.ts b/types/es-abstract/2024/IsExtensible.d.ts new file mode 100644 index 00000000000000..529438a69ec745 --- /dev/null +++ b/types/es-abstract/2024/IsExtensible.d.ts @@ -0,0 +1,2 @@ +import IsExtensible = require("../2023/IsExtensible"); +export = IsExtensible; diff --git a/types/es-abstract/2024/IsGenericDescriptor.d.ts b/types/es-abstract/2024/IsGenericDescriptor.d.ts new file mode 100644 index 00000000000000..ca0aebc8292ff5 --- /dev/null +++ b/types/es-abstract/2024/IsGenericDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsGenericDescriptor = require("../2023/IsGenericDescriptor"); +export = IsGenericDescriptor; diff --git a/types/es-abstract/2024/IsIntegralNumber.d.ts b/types/es-abstract/2024/IsIntegralNumber.d.ts new file mode 100644 index 00000000000000..ee0dec107261a4 --- /dev/null +++ b/types/es-abstract/2024/IsIntegralNumber.d.ts @@ -0,0 +1,2 @@ +import IsIntegralNumber = require("../2023/IsIntegralNumber"); +export = IsIntegralNumber; diff --git a/types/es-abstract/2024/IsLessThan.d.ts b/types/es-abstract/2024/IsLessThan.d.ts new file mode 100644 index 00000000000000..3f57c610711398 --- /dev/null +++ b/types/es-abstract/2024/IsLessThan.d.ts @@ -0,0 +1,2 @@ +import IsLessThan = require("../2023/IsLessThan"); +export = IsLessThan; diff --git a/types/es-abstract/2024/IsLooselyEqual.d.ts b/types/es-abstract/2024/IsLooselyEqual.d.ts new file mode 100644 index 00000000000000..68dcc56f509ab9 --- /dev/null +++ b/types/es-abstract/2024/IsLooselyEqual.d.ts @@ -0,0 +1,2 @@ +import IsLooselyEqual = require("../2023/IsLooselyEqual"); +export = IsLooselyEqual; diff --git a/types/es-abstract/2024/IsPromise.d.ts b/types/es-abstract/2024/IsPromise.d.ts new file mode 100644 index 00000000000000..d3b66d784b716c --- /dev/null +++ b/types/es-abstract/2024/IsPromise.d.ts @@ -0,0 +1,2 @@ +import IsPromise = require("../2023/IsPromise"); +export = IsPromise; diff --git a/types/es-abstract/2024/IsPropertyKey.d.ts b/types/es-abstract/2024/IsPropertyKey.d.ts new file mode 100644 index 00000000000000..e0f58ab7736496 --- /dev/null +++ b/types/es-abstract/2024/IsPropertyKey.d.ts @@ -0,0 +1,2 @@ +import IsPropertyKey = require("../2023/IsPropertyKey"); +export = IsPropertyKey; diff --git a/types/es-abstract/2024/IsRegExp.d.ts b/types/es-abstract/2024/IsRegExp.d.ts new file mode 100644 index 00000000000000..50404062ba2907 --- /dev/null +++ b/types/es-abstract/2024/IsRegExp.d.ts @@ -0,0 +1,2 @@ +import IsRegExp = require("../2023/IsRegExp"); +export = IsRegExp; diff --git a/types/es-abstract/2024/IsStrictlyEqual.d.ts b/types/es-abstract/2024/IsStrictlyEqual.d.ts new file mode 100644 index 00000000000000..9c1ff3913f5817 --- /dev/null +++ b/types/es-abstract/2024/IsStrictlyEqual.d.ts @@ -0,0 +1,2 @@ +import IsStrictlyEqual = require("../2023/IsStrictlyEqual"); +export = IsStrictlyEqual; diff --git a/types/es-abstract/2024/IteratorClose.d.ts b/types/es-abstract/2024/IteratorClose.d.ts new file mode 100644 index 00000000000000..95681ea8e4287d --- /dev/null +++ b/types/es-abstract/2024/IteratorClose.d.ts @@ -0,0 +1,2 @@ +import IteratorClose = require("../2023/IteratorClose"); +export = IteratorClose; diff --git a/types/es-abstract/2024/IteratorComplete.d.ts b/types/es-abstract/2024/IteratorComplete.d.ts new file mode 100644 index 00000000000000..0373f49021f727 --- /dev/null +++ b/types/es-abstract/2024/IteratorComplete.d.ts @@ -0,0 +1,2 @@ +import IteratorComplete = require("../2023/IteratorComplete"); +export = IteratorComplete; diff --git a/types/es-abstract/2024/IteratorNext.d.ts b/types/es-abstract/2024/IteratorNext.d.ts new file mode 100644 index 00000000000000..1f2a28b60b9dd4 --- /dev/null +++ b/types/es-abstract/2024/IteratorNext.d.ts @@ -0,0 +1,2 @@ +import IteratorNext = require("../2023/IteratorNext"); +export = IteratorNext; diff --git a/types/es-abstract/2024/IteratorStep.d.ts b/types/es-abstract/2024/IteratorStep.d.ts new file mode 100644 index 00000000000000..9c99ed2f257251 --- /dev/null +++ b/types/es-abstract/2024/IteratorStep.d.ts @@ -0,0 +1,2 @@ +import IteratorStep = require("../2023/IteratorStep"); +export = IteratorStep; diff --git a/types/es-abstract/2024/IteratorValue.d.ts b/types/es-abstract/2024/IteratorValue.d.ts new file mode 100644 index 00000000000000..bd159447566509 --- /dev/null +++ b/types/es-abstract/2024/IteratorValue.d.ts @@ -0,0 +1,2 @@ +import IteratorValue = require("../2023/IteratorValue"); +export = IteratorValue; diff --git a/types/es-abstract/2024/LengthOfArrayLike.d.ts b/types/es-abstract/2024/LengthOfArrayLike.d.ts new file mode 100644 index 00000000000000..14a7cdcbfe3277 --- /dev/null +++ b/types/es-abstract/2024/LengthOfArrayLike.d.ts @@ -0,0 +1,2 @@ +import LengthOfArrayLike = require("../2023/LengthOfArrayLike"); +export = LengthOfArrayLike; diff --git a/types/es-abstract/2024/MakeDate.d.ts b/types/es-abstract/2024/MakeDate.d.ts new file mode 100644 index 00000000000000..72c922f41e1ff4 --- /dev/null +++ b/types/es-abstract/2024/MakeDate.d.ts @@ -0,0 +1,2 @@ +import MakeDate = require("../2023/MakeDate"); +export = MakeDate; diff --git a/types/es-abstract/2024/MakeDay.d.ts b/types/es-abstract/2024/MakeDay.d.ts new file mode 100644 index 00000000000000..b6f925b11bfb67 --- /dev/null +++ b/types/es-abstract/2024/MakeDay.d.ts @@ -0,0 +1,2 @@ +import MakeDay = require("../2023/MakeDay"); +export = MakeDay; diff --git a/types/es-abstract/2024/MakeTime.d.ts b/types/es-abstract/2024/MakeTime.d.ts new file mode 100644 index 00000000000000..0a97907610b398 --- /dev/null +++ b/types/es-abstract/2024/MakeTime.d.ts @@ -0,0 +1,2 @@ +import MakeTime = require("../2023/MakeTime"); +export = MakeTime; diff --git a/types/es-abstract/2024/MinFromTime.d.ts b/types/es-abstract/2024/MinFromTime.d.ts new file mode 100644 index 00000000000000..c9d229230955c7 --- /dev/null +++ b/types/es-abstract/2024/MinFromTime.d.ts @@ -0,0 +1,2 @@ +import MinFromTime = require("../2023/MinFromTime"); +export = MinFromTime; diff --git a/types/es-abstract/2024/MonthFromTime.d.ts b/types/es-abstract/2024/MonthFromTime.d.ts new file mode 100644 index 00000000000000..a329690d154bae --- /dev/null +++ b/types/es-abstract/2024/MonthFromTime.d.ts @@ -0,0 +1,2 @@ +import MonthFromTime = require("../2023/MonthFromTime"); +export = MonthFromTime; diff --git a/types/es-abstract/2024/NumberBitwiseOp.d.ts b/types/es-abstract/2024/NumberBitwiseOp.d.ts new file mode 100644 index 00000000000000..5c807131ba9e0e --- /dev/null +++ b/types/es-abstract/2024/NumberBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import NumberBitwiseOp = require("../2023/NumberBitwiseOp"); +export = NumberBitwiseOp; diff --git a/types/es-abstract/2024/NumberToBigInt.d.ts b/types/es-abstract/2024/NumberToBigInt.d.ts new file mode 100644 index 00000000000000..b627a421e7b125 --- /dev/null +++ b/types/es-abstract/2024/NumberToBigInt.d.ts @@ -0,0 +1,2 @@ +import NumberToBigInt = require("../2023/NumberToBigInt"); +export = NumberToBigInt; diff --git a/types/es-abstract/2024/OrdinaryDefineOwnProperty.d.ts b/types/es-abstract/2024/OrdinaryDefineOwnProperty.d.ts new file mode 100644 index 00000000000000..d8aebc455ccde3 --- /dev/null +++ b/types/es-abstract/2024/OrdinaryDefineOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryDefineOwnProperty = require("../2023/OrdinaryDefineOwnProperty"); +export = OrdinaryDefineOwnProperty; diff --git a/types/es-abstract/2024/OrdinaryGetOwnProperty.d.ts b/types/es-abstract/2024/OrdinaryGetOwnProperty.d.ts new file mode 100644 index 00000000000000..452c4ca16124ff --- /dev/null +++ b/types/es-abstract/2024/OrdinaryGetOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetOwnProperty = require("../2023/OrdinaryGetOwnProperty"); +export = OrdinaryGetOwnProperty; diff --git a/types/es-abstract/2024/OrdinaryGetPrototypeOf.d.ts b/types/es-abstract/2024/OrdinaryGetPrototypeOf.d.ts new file mode 100644 index 00000000000000..d6e83bc23d1119 --- /dev/null +++ b/types/es-abstract/2024/OrdinaryGetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetPrototypeOf = require("../2023/OrdinaryGetPrototypeOf"); +export = OrdinaryGetPrototypeOf; diff --git a/types/es-abstract/2024/OrdinaryHasInstance.d.ts b/types/es-abstract/2024/OrdinaryHasInstance.d.ts new file mode 100644 index 00000000000000..1d089e23947615 --- /dev/null +++ b/types/es-abstract/2024/OrdinaryHasInstance.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasInstance = require("../2023/OrdinaryHasInstance"); +export = OrdinaryHasInstance; diff --git a/types/es-abstract/2024/OrdinaryHasProperty.d.ts b/types/es-abstract/2024/OrdinaryHasProperty.d.ts new file mode 100644 index 00000000000000..75297a8e427fcc --- /dev/null +++ b/types/es-abstract/2024/OrdinaryHasProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasProperty = require("../2023/OrdinaryHasProperty"); +export = OrdinaryHasProperty; diff --git a/types/es-abstract/2024/OrdinaryObjectCreate.d.ts b/types/es-abstract/2024/OrdinaryObjectCreate.d.ts new file mode 100644 index 00000000000000..5f29c72fca6756 --- /dev/null +++ b/types/es-abstract/2024/OrdinaryObjectCreate.d.ts @@ -0,0 +1,2 @@ +import OrdinaryObjectCreate = require("../2023/OrdinaryObjectCreate"); +export = OrdinaryObjectCreate; diff --git a/types/es-abstract/2024/OrdinarySetPrototypeOf.d.ts b/types/es-abstract/2024/OrdinarySetPrototypeOf.d.ts new file mode 100644 index 00000000000000..8eb94ca2b0230e --- /dev/null +++ b/types/es-abstract/2024/OrdinarySetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinarySetPrototypeOf = require("../2023/OrdinarySetPrototypeOf"); +export = OrdinarySetPrototypeOf; diff --git a/types/es-abstract/2024/PromiseResolve.d.ts b/types/es-abstract/2024/PromiseResolve.d.ts new file mode 100644 index 00000000000000..864106c952358f --- /dev/null +++ b/types/es-abstract/2024/PromiseResolve.d.ts @@ -0,0 +1,2 @@ +import PromiseResolve = require("../2023/PromiseResolve"); +export = PromiseResolve; diff --git a/types/es-abstract/2024/RegExpExec.d.ts b/types/es-abstract/2024/RegExpExec.d.ts new file mode 100644 index 00000000000000..0424a75faca229 --- /dev/null +++ b/types/es-abstract/2024/RegExpExec.d.ts @@ -0,0 +1,2 @@ +import RegExpExec = require("../2023/RegExpExec"); +export = RegExpExec; diff --git a/types/es-abstract/2024/RequireObjectCoercible.d.ts b/types/es-abstract/2024/RequireObjectCoercible.d.ts new file mode 100644 index 00000000000000..1db84bdf401e93 --- /dev/null +++ b/types/es-abstract/2024/RequireObjectCoercible.d.ts @@ -0,0 +1,2 @@ +import RequireObjectCoercible = require("../2023/RequireObjectCoercible"); +export = RequireObjectCoercible; diff --git a/types/es-abstract/2024/SameValue.d.ts b/types/es-abstract/2024/SameValue.d.ts new file mode 100644 index 00000000000000..38c82fa809b178 --- /dev/null +++ b/types/es-abstract/2024/SameValue.d.ts @@ -0,0 +1,2 @@ +import SameValue = require("../2023/SameValue"); +export = SameValue; diff --git a/types/es-abstract/2024/SameValueNonNumber.d.ts b/types/es-abstract/2024/SameValueNonNumber.d.ts new file mode 100644 index 00000000000000..50f640eb4f79f9 --- /dev/null +++ b/types/es-abstract/2024/SameValueNonNumber.d.ts @@ -0,0 +1,2 @@ +import SameValueNonNumber = require("../2023/SameValueNonNumber"); +export = SameValueNonNumber; diff --git a/types/es-abstract/2024/SameValueZero.d.ts b/types/es-abstract/2024/SameValueZero.d.ts new file mode 100644 index 00000000000000..f417eb6e890f76 --- /dev/null +++ b/types/es-abstract/2024/SameValueZero.d.ts @@ -0,0 +1,2 @@ +import SameValueZero = require("../2023/SameValueZero"); +export = SameValueZero; diff --git a/types/es-abstract/2024/SecFromTime.d.ts b/types/es-abstract/2024/SecFromTime.d.ts new file mode 100644 index 00000000000000..1b8f0c22920f5d --- /dev/null +++ b/types/es-abstract/2024/SecFromTime.d.ts @@ -0,0 +1,2 @@ +import SecFromTime = require("../2023/SecFromTime"); +export = SecFromTime; diff --git a/types/es-abstract/2024/Set.d.ts b/types/es-abstract/2024/Set.d.ts new file mode 100644 index 00000000000000..26ebc9b88dd48c --- /dev/null +++ b/types/es-abstract/2024/Set.d.ts @@ -0,0 +1,2 @@ +import Set = require("../2023/Set"); +export = Set; diff --git a/types/es-abstract/2024/SetFunctionName.d.ts b/types/es-abstract/2024/SetFunctionName.d.ts new file mode 100644 index 00000000000000..f6a6548f2ff245 --- /dev/null +++ b/types/es-abstract/2024/SetFunctionName.d.ts @@ -0,0 +1,2 @@ +import SetFunctionName = require("../2023/SetFunctionName"); +export = SetFunctionName; diff --git a/types/es-abstract/2024/SetIntegrityLevel.d.ts b/types/es-abstract/2024/SetIntegrityLevel.d.ts new file mode 100644 index 00000000000000..0570a14c2e0d2b --- /dev/null +++ b/types/es-abstract/2024/SetIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import SetIntegrityLevel = require("../2023/SetIntegrityLevel"); +export = SetIntegrityLevel; diff --git a/types/es-abstract/2024/SpeciesConstructor.d.ts b/types/es-abstract/2024/SpeciesConstructor.d.ts new file mode 100644 index 00000000000000..b3f32d35d5129c --- /dev/null +++ b/types/es-abstract/2024/SpeciesConstructor.d.ts @@ -0,0 +1,2 @@ +import SpeciesConstructor = require("../2023/SpeciesConstructor"); +export = SpeciesConstructor; diff --git a/types/es-abstract/2024/StringIndexOf.d.ts b/types/es-abstract/2024/StringIndexOf.d.ts new file mode 100644 index 00000000000000..6004cba9d4d24b --- /dev/null +++ b/types/es-abstract/2024/StringIndexOf.d.ts @@ -0,0 +1,2 @@ +import StringIndexOf = require("../2023/StringIndexOf"); +export = StringIndexOf; diff --git a/types/es-abstract/2024/StringPad.d.ts b/types/es-abstract/2024/StringPad.d.ts new file mode 100644 index 00000000000000..5fa7da43d7d933 --- /dev/null +++ b/types/es-abstract/2024/StringPad.d.ts @@ -0,0 +1,2 @@ +import StringPad = require("../2023/StringPad"); +export = StringPad; diff --git a/types/es-abstract/2024/StringToBigInt.d.ts b/types/es-abstract/2024/StringToBigInt.d.ts new file mode 100644 index 00000000000000..8dbff1481a9849 --- /dev/null +++ b/types/es-abstract/2024/StringToBigInt.d.ts @@ -0,0 +1,2 @@ +import StringToBigInt = require("../2023/StringToBigInt"); +export = StringToBigInt; diff --git a/types/es-abstract/2024/StringToCodePoints.d.ts b/types/es-abstract/2024/StringToCodePoints.d.ts new file mode 100644 index 00000000000000..d50523e7bfe291 --- /dev/null +++ b/types/es-abstract/2024/StringToCodePoints.d.ts @@ -0,0 +1,2 @@ +import StringToCodePoints = require("../2023/StringToCodePoints"); +export = StringToCodePoints; diff --git a/types/es-abstract/2024/StringToNumber.d.ts b/types/es-abstract/2024/StringToNumber.d.ts new file mode 100644 index 00000000000000..2cc53e33653ddc --- /dev/null +++ b/types/es-abstract/2024/StringToNumber.d.ts @@ -0,0 +1,2 @@ +import StringToNumber = require("../2023/StringToNumber"); +export = StringToNumber; diff --git a/types/es-abstract/2024/SymbolDescriptiveString.d.ts b/types/es-abstract/2024/SymbolDescriptiveString.d.ts new file mode 100644 index 00000000000000..e44a37dd4bc865 --- /dev/null +++ b/types/es-abstract/2024/SymbolDescriptiveString.d.ts @@ -0,0 +1,2 @@ +import SymbolDescriptiveString = require("../2023/SymbolDescriptiveString"); +export = SymbolDescriptiveString; diff --git a/types/es-abstract/2024/TestIntegrityLevel.d.ts b/types/es-abstract/2024/TestIntegrityLevel.d.ts new file mode 100644 index 00000000000000..826819c79f2681 --- /dev/null +++ b/types/es-abstract/2024/TestIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import TestIntegrityLevel = require("../2023/TestIntegrityLevel"); +export = TestIntegrityLevel; diff --git a/types/es-abstract/2024/TimeClip.d.ts b/types/es-abstract/2024/TimeClip.d.ts new file mode 100644 index 00000000000000..b11742ef2b365c --- /dev/null +++ b/types/es-abstract/2024/TimeClip.d.ts @@ -0,0 +1,2 @@ +import TimeClip = require("../2023/TimeClip"); +export = TimeClip; diff --git a/types/es-abstract/2024/TimeFromYear.d.ts b/types/es-abstract/2024/TimeFromYear.d.ts new file mode 100644 index 00000000000000..843cf6cbed599e --- /dev/null +++ b/types/es-abstract/2024/TimeFromYear.d.ts @@ -0,0 +1,2 @@ +import TimeFromYear = require("../2023/TimeFromYear"); +export = TimeFromYear; diff --git a/types/es-abstract/2024/TimeString.d.ts b/types/es-abstract/2024/TimeString.d.ts new file mode 100644 index 00000000000000..7db8d4461b64ff --- /dev/null +++ b/types/es-abstract/2024/TimeString.d.ts @@ -0,0 +1,2 @@ +import TimeString = require("../2023/TimeString"); +export = TimeString; diff --git a/types/es-abstract/2024/TimeWithinDay.d.ts b/types/es-abstract/2024/TimeWithinDay.d.ts new file mode 100644 index 00000000000000..82c21724a09e6e --- /dev/null +++ b/types/es-abstract/2024/TimeWithinDay.d.ts @@ -0,0 +1,2 @@ +import TimeWithinDay = require("../2023/TimeWithinDay"); +export = TimeWithinDay; diff --git a/types/es-abstract/2024/ToBigInt.d.ts b/types/es-abstract/2024/ToBigInt.d.ts new file mode 100644 index 00000000000000..4508d72f1f37ba --- /dev/null +++ b/types/es-abstract/2024/ToBigInt.d.ts @@ -0,0 +1,2 @@ +import ToBigInt = require("../2023/ToBigInt"); +export = ToBigInt; diff --git a/types/es-abstract/2024/ToBigInt64.d.ts b/types/es-abstract/2024/ToBigInt64.d.ts new file mode 100644 index 00000000000000..9349bfb127b926 --- /dev/null +++ b/types/es-abstract/2024/ToBigInt64.d.ts @@ -0,0 +1,2 @@ +import ToBigInt64 = require("../2023/ToBigInt64"); +export = ToBigInt64; diff --git a/types/es-abstract/2024/ToBigUint64.d.ts b/types/es-abstract/2024/ToBigUint64.d.ts new file mode 100644 index 00000000000000..fab622da52be6a --- /dev/null +++ b/types/es-abstract/2024/ToBigUint64.d.ts @@ -0,0 +1,2 @@ +import ToBigUint64 = require("../2023/ToBigUint64"); +export = ToBigUint64; diff --git a/types/es-abstract/2024/ToBoolean.d.ts b/types/es-abstract/2024/ToBoolean.d.ts new file mode 100644 index 00000000000000..95dba35a40b5ab --- /dev/null +++ b/types/es-abstract/2024/ToBoolean.d.ts @@ -0,0 +1,2 @@ +import ToBoolean = require("../2023/ToBoolean"); +export = ToBoolean; diff --git a/types/es-abstract/2024/ToDateString.d.ts b/types/es-abstract/2024/ToDateString.d.ts new file mode 100644 index 00000000000000..1fad37252328c8 --- /dev/null +++ b/types/es-abstract/2024/ToDateString.d.ts @@ -0,0 +1,2 @@ +import ToDateString = require("../2023/ToDateString"); +export = ToDateString; diff --git a/types/es-abstract/2024/ToIndex.d.ts b/types/es-abstract/2024/ToIndex.d.ts new file mode 100644 index 00000000000000..74fc6963e5b7c8 --- /dev/null +++ b/types/es-abstract/2024/ToIndex.d.ts @@ -0,0 +1,2 @@ +import ToIndex = require("../2023/ToIndex"); +export = ToIndex; diff --git a/types/es-abstract/2024/ToInt16.d.ts b/types/es-abstract/2024/ToInt16.d.ts new file mode 100644 index 00000000000000..64af5f526730ff --- /dev/null +++ b/types/es-abstract/2024/ToInt16.d.ts @@ -0,0 +1,2 @@ +import ToInt16 = require("../2023/ToInt16"); +export = ToInt16; diff --git a/types/es-abstract/2024/ToInt32.d.ts b/types/es-abstract/2024/ToInt32.d.ts new file mode 100644 index 00000000000000..48c1e943836e41 --- /dev/null +++ b/types/es-abstract/2024/ToInt32.d.ts @@ -0,0 +1,2 @@ +import ToInt32 = require("../2023/ToInt32"); +export = ToInt32; diff --git a/types/es-abstract/2024/ToInt8.d.ts b/types/es-abstract/2024/ToInt8.d.ts new file mode 100644 index 00000000000000..906eceeb0dd941 --- /dev/null +++ b/types/es-abstract/2024/ToInt8.d.ts @@ -0,0 +1,2 @@ +import ToInt8 = require("../2023/ToInt8"); +export = ToInt8; diff --git a/types/es-abstract/2024/ToIntegerOrInfinity.d.ts b/types/es-abstract/2024/ToIntegerOrInfinity.d.ts new file mode 100644 index 00000000000000..cd4a5ab4a5c8f5 --- /dev/null +++ b/types/es-abstract/2024/ToIntegerOrInfinity.d.ts @@ -0,0 +1,2 @@ +import ToIntegerOrInfinity = require("../2023/ToIntegerOrInfinity"); +export = ToIntegerOrInfinity; diff --git a/types/es-abstract/2024/ToLength.d.ts b/types/es-abstract/2024/ToLength.d.ts new file mode 100644 index 00000000000000..885306b6b969ff --- /dev/null +++ b/types/es-abstract/2024/ToLength.d.ts @@ -0,0 +1,2 @@ +import ToLength = require("../2023/ToLength"); +export = ToLength; diff --git a/types/es-abstract/2024/ToNumber.d.ts b/types/es-abstract/2024/ToNumber.d.ts new file mode 100644 index 00000000000000..03f6ebe03d0e5e --- /dev/null +++ b/types/es-abstract/2024/ToNumber.d.ts @@ -0,0 +1,2 @@ +import ToNumber = require("../2023/ToNumber"); +export = ToNumber; diff --git a/types/es-abstract/2024/ToNumeric.d.ts b/types/es-abstract/2024/ToNumeric.d.ts new file mode 100644 index 00000000000000..1a3ceb174c8ac5 --- /dev/null +++ b/types/es-abstract/2024/ToNumeric.d.ts @@ -0,0 +1,2 @@ +import ToNumeric = require("../2023/ToNumeric"); +export = ToNumeric; diff --git a/types/es-abstract/2024/ToObject.d.ts b/types/es-abstract/2024/ToObject.d.ts new file mode 100644 index 00000000000000..0a3bdb56cadbda --- /dev/null +++ b/types/es-abstract/2024/ToObject.d.ts @@ -0,0 +1,2 @@ +import ToObject = require("../2023/ToObject"); +export = ToObject; diff --git a/types/es-abstract/2024/ToPrimitive.d.ts b/types/es-abstract/2024/ToPrimitive.d.ts new file mode 100644 index 00000000000000..7460f30d786b90 --- /dev/null +++ b/types/es-abstract/2024/ToPrimitive.d.ts @@ -0,0 +1,2 @@ +import ToPrimitive = require("../2023/ToPrimitive"); +export = ToPrimitive; diff --git a/types/es-abstract/2024/ToPropertyDescriptor.d.ts b/types/es-abstract/2024/ToPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..b485b05d4db6cd --- /dev/null +++ b/types/es-abstract/2024/ToPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ToPropertyDescriptor = require("../2023/ToPropertyDescriptor"); +export = ToPropertyDescriptor; diff --git a/types/es-abstract/2024/ToPropertyKey.d.ts b/types/es-abstract/2024/ToPropertyKey.d.ts new file mode 100644 index 00000000000000..e49a10acfa40ca --- /dev/null +++ b/types/es-abstract/2024/ToPropertyKey.d.ts @@ -0,0 +1,2 @@ +import ToPropertyKey = require("../2023/ToPropertyKey"); +export = ToPropertyKey; diff --git a/types/es-abstract/2024/ToString.d.ts b/types/es-abstract/2024/ToString.d.ts new file mode 100644 index 00000000000000..a15f71afd3050c --- /dev/null +++ b/types/es-abstract/2024/ToString.d.ts @@ -0,0 +1,2 @@ +import ToString = require("../2023/ToString"); +export = ToString; diff --git a/types/es-abstract/2024/ToUint16.d.ts b/types/es-abstract/2024/ToUint16.d.ts new file mode 100644 index 00000000000000..2e45c3e30dceae --- /dev/null +++ b/types/es-abstract/2024/ToUint16.d.ts @@ -0,0 +1,2 @@ +import ToUint16 = require("../2023/ToUint16"); +export = ToUint16; diff --git a/types/es-abstract/2024/ToUint32.d.ts b/types/es-abstract/2024/ToUint32.d.ts new file mode 100644 index 00000000000000..cb7c9ffc04b415 --- /dev/null +++ b/types/es-abstract/2024/ToUint32.d.ts @@ -0,0 +1,2 @@ +import ToUint32 = require("../2023/ToUint32"); +export = ToUint32; diff --git a/types/es-abstract/2024/ToUint8.d.ts b/types/es-abstract/2024/ToUint8.d.ts new file mode 100644 index 00000000000000..a64c944a8145a4 --- /dev/null +++ b/types/es-abstract/2024/ToUint8.d.ts @@ -0,0 +1,2 @@ +import ToUint8 = require("../2023/ToUint8"); +export = ToUint8; diff --git a/types/es-abstract/2024/ToUint8Clamp.d.ts b/types/es-abstract/2024/ToUint8Clamp.d.ts new file mode 100644 index 00000000000000..7bb0943d9e5bf2 --- /dev/null +++ b/types/es-abstract/2024/ToUint8Clamp.d.ts @@ -0,0 +1,2 @@ +import ToUint8Clamp = require("../2023/ToUint8Clamp"); +export = ToUint8Clamp; diff --git a/types/es-abstract/2024/TrimString.d.ts b/types/es-abstract/2024/TrimString.d.ts new file mode 100644 index 00000000000000..a6c574d69ceaae --- /dev/null +++ b/types/es-abstract/2024/TrimString.d.ts @@ -0,0 +1,2 @@ +import TrimString = require("../2023/TrimString"); +export = TrimString; diff --git a/types/es-abstract/2024/Type.d.ts b/types/es-abstract/2024/Type.d.ts new file mode 100644 index 00000000000000..c9089c7888191a --- /dev/null +++ b/types/es-abstract/2024/Type.d.ts @@ -0,0 +1,2 @@ +import Type = require("../2023/Type"); +export = Type; diff --git a/types/es-abstract/2024/ValidateAndApplyPropertyDescriptor.d.ts b/types/es-abstract/2024/ValidateAndApplyPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..7b1c0fa9ecb521 --- /dev/null +++ b/types/es-abstract/2024/ValidateAndApplyPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ValidateAndApplyPropertyDescriptor = require("../2023/ValidateAndApplyPropertyDescriptor"); +export = ValidateAndApplyPropertyDescriptor; diff --git a/types/es-abstract/2024/WeekDay.d.ts b/types/es-abstract/2024/WeekDay.d.ts new file mode 100644 index 00000000000000..04a2e684ed278d --- /dev/null +++ b/types/es-abstract/2024/WeekDay.d.ts @@ -0,0 +1,2 @@ +import WeekDay = require("../2023/WeekDay"); +export = WeekDay; diff --git a/types/es-abstract/2024/YearFromTime.d.ts b/types/es-abstract/2024/YearFromTime.d.ts new file mode 100644 index 00000000000000..1a5afd2ebfff43 --- /dev/null +++ b/types/es-abstract/2024/YearFromTime.d.ts @@ -0,0 +1,2 @@ +import YearFromTime = require("../2023/YearFromTime"); +export = YearFromTime; diff --git a/types/es-abstract/2024/clamp.d.ts b/types/es-abstract/2024/clamp.d.ts new file mode 100644 index 00000000000000..9ee8ce13251755 --- /dev/null +++ b/types/es-abstract/2024/clamp.d.ts @@ -0,0 +1,2 @@ +import clamp = require("../2023/clamp"); +export = clamp; diff --git a/types/es-abstract/2024/modulo.d.ts b/types/es-abstract/2024/modulo.d.ts new file mode 100644 index 00000000000000..459a686deb8fc9 --- /dev/null +++ b/types/es-abstract/2024/modulo.d.ts @@ -0,0 +1,2 @@ +import modulo = require("../2023/modulo"); +export = modulo; diff --git a/types/es-abstract/2024/msFromTime.d.ts b/types/es-abstract/2024/msFromTime.d.ts new file mode 100644 index 00000000000000..5868c5691e27e9 --- /dev/null +++ b/types/es-abstract/2024/msFromTime.d.ts @@ -0,0 +1,2 @@ +import msFromTime = require("../2023/msFromTime"); +export = msFromTime; diff --git a/types/es-abstract/2024/substring.d.ts b/types/es-abstract/2024/substring.d.ts new file mode 100644 index 00000000000000..1a3e0252e46a77 --- /dev/null +++ b/types/es-abstract/2024/substring.d.ts @@ -0,0 +1,2 @@ +import substring = require("../2023/substring"); +export = substring; diff --git a/types/es-abstract/2024/truncate.d.ts b/types/es-abstract/2024/truncate.d.ts new file mode 100644 index 00000000000000..b57dc61af5d3fe --- /dev/null +++ b/types/es-abstract/2024/truncate.d.ts @@ -0,0 +1,2 @@ +import truncate = require("../2023/truncate"); +export = truncate; diff --git a/types/es-abstract/2025/AddEntriesFromIterable.d.ts b/types/es-abstract/2025/AddEntriesFromIterable.d.ts new file mode 100644 index 00000000000000..30d152a50d316c --- /dev/null +++ b/types/es-abstract/2025/AddEntriesFromIterable.d.ts @@ -0,0 +1,2 @@ +import AddEntriesFromIterable = require("../2024/AddEntriesFromIterable"); +export = AddEntriesFromIterable; diff --git a/types/es-abstract/2025/AdvanceStringIndex.d.ts b/types/es-abstract/2025/AdvanceStringIndex.d.ts new file mode 100644 index 00000000000000..449825e69d19b0 --- /dev/null +++ b/types/es-abstract/2025/AdvanceStringIndex.d.ts @@ -0,0 +1,2 @@ +import AdvanceStringIndex = require("../2024/AdvanceStringIndex"); +export = AdvanceStringIndex; diff --git a/types/es-abstract/2025/ArrayCreate.d.ts b/types/es-abstract/2025/ArrayCreate.d.ts new file mode 100644 index 00000000000000..295f45cafaae73 --- /dev/null +++ b/types/es-abstract/2025/ArrayCreate.d.ts @@ -0,0 +1,2 @@ +import ArrayCreate = require("../2024/ArrayCreate"); +export = ArrayCreate; diff --git a/types/es-abstract/2025/ArraySetLength.d.ts b/types/es-abstract/2025/ArraySetLength.d.ts new file mode 100644 index 00000000000000..529ef9fa997658 --- /dev/null +++ b/types/es-abstract/2025/ArraySetLength.d.ts @@ -0,0 +1,2 @@ +import ArraySetLength = require("../2024/ArraySetLength"); +export = ArraySetLength; diff --git a/types/es-abstract/2025/ArraySpeciesCreate.d.ts b/types/es-abstract/2025/ArraySpeciesCreate.d.ts new file mode 100644 index 00000000000000..d7f8ff18a4a9cd --- /dev/null +++ b/types/es-abstract/2025/ArraySpeciesCreate.d.ts @@ -0,0 +1,2 @@ +import ArraySpeciesCreate = require("../2024/ArraySpeciesCreate"); +export = ArraySpeciesCreate; diff --git a/types/es-abstract/2025/BigIntBitwiseOp.d.ts b/types/es-abstract/2025/BigIntBitwiseOp.d.ts new file mode 100644 index 00000000000000..878944a31df93d --- /dev/null +++ b/types/es-abstract/2025/BigIntBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import BigIntBitwiseOp = require("../2024/BigIntBitwiseOp"); +export = BigIntBitwiseOp; diff --git a/types/es-abstract/2025/BinaryAnd.d.ts b/types/es-abstract/2025/BinaryAnd.d.ts new file mode 100644 index 00000000000000..a6ea1d41d42bb4 --- /dev/null +++ b/types/es-abstract/2025/BinaryAnd.d.ts @@ -0,0 +1,2 @@ +import BinaryAnd = require("../2024/BinaryAnd"); +export = BinaryAnd; diff --git a/types/es-abstract/2025/BinaryOr.d.ts b/types/es-abstract/2025/BinaryOr.d.ts new file mode 100644 index 00000000000000..0e7007410629ea --- /dev/null +++ b/types/es-abstract/2025/BinaryOr.d.ts @@ -0,0 +1,2 @@ +import BinaryOr = require("../2024/BinaryOr"); +export = BinaryOr; diff --git a/types/es-abstract/2025/BinaryXor.d.ts b/types/es-abstract/2025/BinaryXor.d.ts new file mode 100644 index 00000000000000..800b208047bffd --- /dev/null +++ b/types/es-abstract/2025/BinaryXor.d.ts @@ -0,0 +1,2 @@ +import BinaryXor = require("../2024/BinaryXor"); +export = BinaryXor; diff --git a/types/es-abstract/2025/Call.d.ts b/types/es-abstract/2025/Call.d.ts new file mode 100644 index 00000000000000..d143ceb83c0b10 --- /dev/null +++ b/types/es-abstract/2025/Call.d.ts @@ -0,0 +1,2 @@ +import Call = require("../2024/Call"); +export = Call; diff --git a/types/es-abstract/2025/CanBeHeldWeakly.d.ts b/types/es-abstract/2025/CanBeHeldWeakly.d.ts new file mode 100644 index 00000000000000..bac9fd0b7ce580 --- /dev/null +++ b/types/es-abstract/2025/CanBeHeldWeakly.d.ts @@ -0,0 +1,2 @@ +import CanBeHeldWeakly = require("../2024/CanBeHeldWeakly"); +export = CanBeHeldWeakly; diff --git a/types/es-abstract/2025/CanonicalNumericIndexString.d.ts b/types/es-abstract/2025/CanonicalNumericIndexString.d.ts new file mode 100644 index 00000000000000..acd1f0aa46f4b4 --- /dev/null +++ b/types/es-abstract/2025/CanonicalNumericIndexString.d.ts @@ -0,0 +1,2 @@ +import CanonicalNumericIndexString = require("../2024/CanonicalNumericIndexString"); +export = CanonicalNumericIndexString; diff --git a/types/es-abstract/2025/CodePointAt.d.ts b/types/es-abstract/2025/CodePointAt.d.ts new file mode 100644 index 00000000000000..936f99880a2b46 --- /dev/null +++ b/types/es-abstract/2025/CodePointAt.d.ts @@ -0,0 +1,2 @@ +import CodePointAt = require("../2024/CodePointAt"); +export = CodePointAt; diff --git a/types/es-abstract/2025/CodePointsToString.d.ts b/types/es-abstract/2025/CodePointsToString.d.ts new file mode 100644 index 00000000000000..923e59b21152a4 --- /dev/null +++ b/types/es-abstract/2025/CodePointsToString.d.ts @@ -0,0 +1,2 @@ +import CodePointsToString = require("../2024/CodePointsToString"); +export = CodePointsToString; diff --git a/types/es-abstract/2025/CompletePropertyDescriptor.d.ts b/types/es-abstract/2025/CompletePropertyDescriptor.d.ts new file mode 100644 index 00000000000000..6cafddaffe8da7 --- /dev/null +++ b/types/es-abstract/2025/CompletePropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import CompletePropertyDescriptor = require("../2024/CompletePropertyDescriptor"); +export = CompletePropertyDescriptor; diff --git a/types/es-abstract/2025/CopyDataProperties.d.ts b/types/es-abstract/2025/CopyDataProperties.d.ts new file mode 100644 index 00000000000000..2100a18cffe621 --- /dev/null +++ b/types/es-abstract/2025/CopyDataProperties.d.ts @@ -0,0 +1,2 @@ +import CopyDataProperties = require("../2024/CopyDataProperties"); +export = CopyDataProperties; diff --git a/types/es-abstract/2025/CreateDataProperty.d.ts b/types/es-abstract/2025/CreateDataProperty.d.ts new file mode 100644 index 00000000000000..86e612684e4b82 --- /dev/null +++ b/types/es-abstract/2025/CreateDataProperty.d.ts @@ -0,0 +1,2 @@ +import CreateDataProperty = require("../2024/CreateDataProperty"); +export = CreateDataProperty; diff --git a/types/es-abstract/2025/CreateDataPropertyOrThrow.d.ts b/types/es-abstract/2025/CreateDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..8b5feca873a744 --- /dev/null +++ b/types/es-abstract/2025/CreateDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateDataPropertyOrThrow = require("../2024/CreateDataPropertyOrThrow"); +export = CreateDataPropertyOrThrow; diff --git a/types/es-abstract/2025/CreateHTML.d.ts b/types/es-abstract/2025/CreateHTML.d.ts new file mode 100644 index 00000000000000..612bbb0771a9e6 --- /dev/null +++ b/types/es-abstract/2025/CreateHTML.d.ts @@ -0,0 +1,2 @@ +import CreateHTML = require("../2024/CreateHTML"); +export = CreateHTML; diff --git a/types/es-abstract/2025/CreateIteratorResultObject.d.ts b/types/es-abstract/2025/CreateIteratorResultObject.d.ts new file mode 100644 index 00000000000000..72214e33beb5b8 --- /dev/null +++ b/types/es-abstract/2025/CreateIteratorResultObject.d.ts @@ -0,0 +1,7 @@ +interface IteratorResultObject { + value: T; + done: boolean; +} + +declare function CreateIteratorResultObject(value: T, done: boolean): IteratorResultObject; +export = CreateIteratorResultObject; diff --git a/types/es-abstract/2025/CreateListFromArrayLike.d.ts b/types/es-abstract/2025/CreateListFromArrayLike.d.ts new file mode 100644 index 00000000000000..22c25415130fb8 --- /dev/null +++ b/types/es-abstract/2025/CreateListFromArrayLike.d.ts @@ -0,0 +1,2 @@ +import CreateListFromArrayLike = require("../2024/CreateListFromArrayLike"); +export = CreateListFromArrayLike; diff --git a/types/es-abstract/2025/CreateNonEnumerableDataPropertyOrThrow.d.ts b/types/es-abstract/2025/CreateNonEnumerableDataPropertyOrThrow.d.ts new file mode 100644 index 00000000000000..46a730147956c8 --- /dev/null +++ b/types/es-abstract/2025/CreateNonEnumerableDataPropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import CreateNonEnumerableDataPropertyOrThrow = require("../2024/CreateNonEnumerableDataPropertyOrThrow"); +export = CreateNonEnumerableDataPropertyOrThrow; diff --git a/types/es-abstract/2025/CreateRegExpStringIterator.d.ts b/types/es-abstract/2025/CreateRegExpStringIterator.d.ts new file mode 100644 index 00000000000000..3f5db77341c8a4 --- /dev/null +++ b/types/es-abstract/2025/CreateRegExpStringIterator.d.ts @@ -0,0 +1,2 @@ +import CreateRegExpStringIterator = require("../2024/CreateRegExpStringIterator"); +export = CreateRegExpStringIterator; diff --git a/types/es-abstract/2025/DateFromTime.d.ts b/types/es-abstract/2025/DateFromTime.d.ts new file mode 100644 index 00000000000000..6d38a74c8b1f58 --- /dev/null +++ b/types/es-abstract/2025/DateFromTime.d.ts @@ -0,0 +1,2 @@ +import DateFromTime = require("../2024/DateFromTime"); +export = DateFromTime; diff --git a/types/es-abstract/2025/DateString.d.ts b/types/es-abstract/2025/DateString.d.ts new file mode 100644 index 00000000000000..546ebf21684df8 --- /dev/null +++ b/types/es-abstract/2025/DateString.d.ts @@ -0,0 +1,2 @@ +import DateString = require("../2024/DateString"); +export = DateString; diff --git a/types/es-abstract/2025/Day.d.ts b/types/es-abstract/2025/Day.d.ts new file mode 100644 index 00000000000000..8eb8dda44d9c6c --- /dev/null +++ b/types/es-abstract/2025/Day.d.ts @@ -0,0 +1,2 @@ +import Day = require("../2024/Day"); +export = Day; diff --git a/types/es-abstract/2025/DayFromYear.d.ts b/types/es-abstract/2025/DayFromYear.d.ts new file mode 100644 index 00000000000000..739ab083865cfb --- /dev/null +++ b/types/es-abstract/2025/DayFromYear.d.ts @@ -0,0 +1,2 @@ +import DayFromYear = require("../2024/DayFromYear"); +export = DayFromYear; diff --git a/types/es-abstract/2025/DayWithinYear.d.ts b/types/es-abstract/2025/DayWithinYear.d.ts new file mode 100644 index 00000000000000..11e7bfd1f3e506 --- /dev/null +++ b/types/es-abstract/2025/DayWithinYear.d.ts @@ -0,0 +1,2 @@ +import DayWithinYear = require("../2024/DayWithinYear"); +export = DayWithinYear; diff --git a/types/es-abstract/2025/DaysInYear.d.ts b/types/es-abstract/2025/DaysInYear.d.ts new file mode 100644 index 00000000000000..95631b2bbb75b0 --- /dev/null +++ b/types/es-abstract/2025/DaysInYear.d.ts @@ -0,0 +1,2 @@ +import DaysInYear = require("../2024/DaysInYear"); +export = DaysInYear; diff --git a/types/es-abstract/2025/DefineMethodProperty.d.ts b/types/es-abstract/2025/DefineMethodProperty.d.ts new file mode 100644 index 00000000000000..66d4954adccdaf --- /dev/null +++ b/types/es-abstract/2025/DefineMethodProperty.d.ts @@ -0,0 +1,2 @@ +import DefineMethodProperty = require("../2024/DefineMethodProperty"); +export = DefineMethodProperty; diff --git a/types/es-abstract/2025/DefinePropertyOrThrow.d.ts b/types/es-abstract/2025/DefinePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..c05cd1c3de4737 --- /dev/null +++ b/types/es-abstract/2025/DefinePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DefinePropertyOrThrow = require("../2024/DefinePropertyOrThrow"); +export = DefinePropertyOrThrow; diff --git a/types/es-abstract/2025/DeletePropertyOrThrow.d.ts b/types/es-abstract/2025/DeletePropertyOrThrow.d.ts new file mode 100644 index 00000000000000..f85b6d7a0137e4 --- /dev/null +++ b/types/es-abstract/2025/DeletePropertyOrThrow.d.ts @@ -0,0 +1,2 @@ +import DeletePropertyOrThrow = require("../2024/DeletePropertyOrThrow"); +export = DeletePropertyOrThrow; diff --git a/types/es-abstract/2025/FlattenIntoArray.d.ts b/types/es-abstract/2025/FlattenIntoArray.d.ts new file mode 100644 index 00000000000000..6504084cccc3c3 --- /dev/null +++ b/types/es-abstract/2025/FlattenIntoArray.d.ts @@ -0,0 +1,2 @@ +import FlattenIntoArray = require("../2024/FlattenIntoArray"); +export = FlattenIntoArray; diff --git a/types/es-abstract/2025/FromPropertyDescriptor.d.ts b/types/es-abstract/2025/FromPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..018ca2a8138c9c --- /dev/null +++ b/types/es-abstract/2025/FromPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import FromPropertyDescriptor = require("../2024/FromPropertyDescriptor"); +export = FromPropertyDescriptor; diff --git a/types/es-abstract/2025/Get.d.ts b/types/es-abstract/2025/Get.d.ts new file mode 100644 index 00000000000000..f82c78c05194e1 --- /dev/null +++ b/types/es-abstract/2025/Get.d.ts @@ -0,0 +1,2 @@ +import Get = require("../2024/Get"); +export = Get; diff --git a/types/es-abstract/2025/GetIterator.d.ts b/types/es-abstract/2025/GetIterator.d.ts new file mode 100644 index 00000000000000..65a3c4b9333640 --- /dev/null +++ b/types/es-abstract/2025/GetIterator.d.ts @@ -0,0 +1,2 @@ +import GetIterator = require("../2024/GetIterator"); +export = GetIterator; diff --git a/types/es-abstract/2025/GetMethod.d.ts b/types/es-abstract/2025/GetMethod.d.ts new file mode 100644 index 00000000000000..527bbcd4ddc304 --- /dev/null +++ b/types/es-abstract/2025/GetMethod.d.ts @@ -0,0 +1,2 @@ +import GetMethod = require("../2024/GetMethod"); +export = GetMethod; diff --git a/types/es-abstract/2025/GetOwnPropertyKeys.d.ts b/types/es-abstract/2025/GetOwnPropertyKeys.d.ts new file mode 100644 index 00000000000000..226f3f2436fe62 --- /dev/null +++ b/types/es-abstract/2025/GetOwnPropertyKeys.d.ts @@ -0,0 +1,2 @@ +import GetOwnPropertyKeys = require("../2024/GetOwnPropertyKeys"); +export = GetOwnPropertyKeys; diff --git a/types/es-abstract/2025/GetPrototypeFromConstructor.d.ts b/types/es-abstract/2025/GetPrototypeFromConstructor.d.ts new file mode 100644 index 00000000000000..96410e4233a066 --- /dev/null +++ b/types/es-abstract/2025/GetPrototypeFromConstructor.d.ts @@ -0,0 +1,2 @@ +import GetPrototypeFromConstructor = require("../2024/GetPrototypeFromConstructor"); +export = GetPrototypeFromConstructor; diff --git a/types/es-abstract/2025/GetSubstitution.d.ts b/types/es-abstract/2025/GetSubstitution.d.ts new file mode 100644 index 00000000000000..3854c9b8d46a79 --- /dev/null +++ b/types/es-abstract/2025/GetSubstitution.d.ts @@ -0,0 +1,2 @@ +import GetSubstitution = require("../2024/GetSubstitution"); +export = GetSubstitution; diff --git a/types/es-abstract/2025/GetV.d.ts b/types/es-abstract/2025/GetV.d.ts new file mode 100644 index 00000000000000..707788643703cc --- /dev/null +++ b/types/es-abstract/2025/GetV.d.ts @@ -0,0 +1,2 @@ +import GetV = require("../2024/GetV"); +export = GetV; diff --git a/types/es-abstract/2025/HasOwnProperty.d.ts b/types/es-abstract/2025/HasOwnProperty.d.ts new file mode 100644 index 00000000000000..4a35ed6329a729 --- /dev/null +++ b/types/es-abstract/2025/HasOwnProperty.d.ts @@ -0,0 +1,2 @@ +import HasOwnProperty = require("../2024/HasOwnProperty"); +export = HasOwnProperty; diff --git a/types/es-abstract/2025/HasProperty.d.ts b/types/es-abstract/2025/HasProperty.d.ts new file mode 100644 index 00000000000000..7b1ede81f407df --- /dev/null +++ b/types/es-abstract/2025/HasProperty.d.ts @@ -0,0 +1,2 @@ +import HasProperty = require("../2024/HasProperty"); +export = HasProperty; diff --git a/types/es-abstract/2025/HourFromTime.d.ts b/types/es-abstract/2025/HourFromTime.d.ts new file mode 100644 index 00000000000000..9f63a176fb8488 --- /dev/null +++ b/types/es-abstract/2025/HourFromTime.d.ts @@ -0,0 +1,2 @@ +import HourFromTime = require("../2024/HourFromTime"); +export = HourFromTime; diff --git a/types/es-abstract/2025/InLeapYear.d.ts b/types/es-abstract/2025/InLeapYear.d.ts new file mode 100644 index 00000000000000..6b253a34be97d9 --- /dev/null +++ b/types/es-abstract/2025/InLeapYear.d.ts @@ -0,0 +1,2 @@ +import InLeapYear = require("../2024/InLeapYear"); +export = InLeapYear; diff --git a/types/es-abstract/2025/InstanceofOperator.d.ts b/types/es-abstract/2025/InstanceofOperator.d.ts new file mode 100644 index 00000000000000..73611d6fd20c27 --- /dev/null +++ b/types/es-abstract/2025/InstanceofOperator.d.ts @@ -0,0 +1,2 @@ +import InstanceofOperator = require("../2024/InstanceofOperator"); +export = InstanceofOperator; diff --git a/types/es-abstract/2025/Invoke.d.ts b/types/es-abstract/2025/Invoke.d.ts new file mode 100644 index 00000000000000..82e2b4804e9166 --- /dev/null +++ b/types/es-abstract/2025/Invoke.d.ts @@ -0,0 +1,2 @@ +import Invoke = require("../2024/Invoke"); +export = Invoke; diff --git a/types/es-abstract/2025/IsAccessorDescriptor.d.ts b/types/es-abstract/2025/IsAccessorDescriptor.d.ts new file mode 100644 index 00000000000000..fc448642497cbd --- /dev/null +++ b/types/es-abstract/2025/IsAccessorDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsAccessorDescriptor = require("../2024/IsAccessorDescriptor"); +export = IsAccessorDescriptor; diff --git a/types/es-abstract/2025/IsArray.d.ts b/types/es-abstract/2025/IsArray.d.ts new file mode 100644 index 00000000000000..cf49cb3a71105c --- /dev/null +++ b/types/es-abstract/2025/IsArray.d.ts @@ -0,0 +1,2 @@ +import IsArray = require("../2024/IsArray"); +export = IsArray; diff --git a/types/es-abstract/2025/IsCallable.d.ts b/types/es-abstract/2025/IsCallable.d.ts new file mode 100644 index 00000000000000..6f3c859ca64165 --- /dev/null +++ b/types/es-abstract/2025/IsCallable.d.ts @@ -0,0 +1,2 @@ +import IsCallable = require("../2024/IsCallable"); +export = IsCallable; diff --git a/types/es-abstract/2025/IsConcatSpreadable.d.ts b/types/es-abstract/2025/IsConcatSpreadable.d.ts new file mode 100644 index 00000000000000..5d7c2763ceca66 --- /dev/null +++ b/types/es-abstract/2025/IsConcatSpreadable.d.ts @@ -0,0 +1,2 @@ +import IsConcatSpreadable = require("../2024/IsConcatSpreadable"); +export = IsConcatSpreadable; diff --git a/types/es-abstract/2025/IsConstructor.d.ts b/types/es-abstract/2025/IsConstructor.d.ts new file mode 100644 index 00000000000000..367b696a1a1003 --- /dev/null +++ b/types/es-abstract/2025/IsConstructor.d.ts @@ -0,0 +1,2 @@ +import IsConstructor = require("../2024/IsConstructor"); +export = IsConstructor; diff --git a/types/es-abstract/2025/IsDataDescriptor.d.ts b/types/es-abstract/2025/IsDataDescriptor.d.ts new file mode 100644 index 00000000000000..270759c9ffbc6a --- /dev/null +++ b/types/es-abstract/2025/IsDataDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsDataDescriptor = require("../2024/IsDataDescriptor"); +export = IsDataDescriptor; diff --git a/types/es-abstract/2025/IsExtensible.d.ts b/types/es-abstract/2025/IsExtensible.d.ts new file mode 100644 index 00000000000000..6b2a1f5e5a510c --- /dev/null +++ b/types/es-abstract/2025/IsExtensible.d.ts @@ -0,0 +1,2 @@ +import IsExtensible = require("../2024/IsExtensible"); +export = IsExtensible; diff --git a/types/es-abstract/2025/IsGenericDescriptor.d.ts b/types/es-abstract/2025/IsGenericDescriptor.d.ts new file mode 100644 index 00000000000000..be00c164ee6820 --- /dev/null +++ b/types/es-abstract/2025/IsGenericDescriptor.d.ts @@ -0,0 +1,2 @@ +import IsGenericDescriptor = require("../2024/IsGenericDescriptor"); +export = IsGenericDescriptor; diff --git a/types/es-abstract/2025/IsLessThan.d.ts b/types/es-abstract/2025/IsLessThan.d.ts new file mode 100644 index 00000000000000..74d09557d471c6 --- /dev/null +++ b/types/es-abstract/2025/IsLessThan.d.ts @@ -0,0 +1,2 @@ +import IsLessThan = require("../2024/IsLessThan"); +export = IsLessThan; diff --git a/types/es-abstract/2025/IsLooselyEqual.d.ts b/types/es-abstract/2025/IsLooselyEqual.d.ts new file mode 100644 index 00000000000000..ea213f5b2f5555 --- /dev/null +++ b/types/es-abstract/2025/IsLooselyEqual.d.ts @@ -0,0 +1,2 @@ +import IsLooselyEqual = require("../2024/IsLooselyEqual"); +export = IsLooselyEqual; diff --git a/types/es-abstract/2025/IsPromise.d.ts b/types/es-abstract/2025/IsPromise.d.ts new file mode 100644 index 00000000000000..90e11d84734015 --- /dev/null +++ b/types/es-abstract/2025/IsPromise.d.ts @@ -0,0 +1,2 @@ +import IsPromise = require("../2024/IsPromise"); +export = IsPromise; diff --git a/types/es-abstract/2025/IsRegExp.d.ts b/types/es-abstract/2025/IsRegExp.d.ts new file mode 100644 index 00000000000000..84589ab3da14f4 --- /dev/null +++ b/types/es-abstract/2025/IsRegExp.d.ts @@ -0,0 +1,2 @@ +import IsRegExp = require("../2024/IsRegExp"); +export = IsRegExp; diff --git a/types/es-abstract/2025/IsStrictlyEqual.d.ts b/types/es-abstract/2025/IsStrictlyEqual.d.ts new file mode 100644 index 00000000000000..efebed10ba6953 --- /dev/null +++ b/types/es-abstract/2025/IsStrictlyEqual.d.ts @@ -0,0 +1,2 @@ +import IsStrictlyEqual = require("../2024/IsStrictlyEqual"); +export = IsStrictlyEqual; diff --git a/types/es-abstract/2025/IteratorClose.d.ts b/types/es-abstract/2025/IteratorClose.d.ts new file mode 100644 index 00000000000000..a21a137bfb221d --- /dev/null +++ b/types/es-abstract/2025/IteratorClose.d.ts @@ -0,0 +1,2 @@ +import IteratorClose = require("../2024/IteratorClose"); +export = IteratorClose; diff --git a/types/es-abstract/2025/IteratorComplete.d.ts b/types/es-abstract/2025/IteratorComplete.d.ts new file mode 100644 index 00000000000000..59cadc6c8e93ed --- /dev/null +++ b/types/es-abstract/2025/IteratorComplete.d.ts @@ -0,0 +1,2 @@ +import IteratorComplete = require("../2024/IteratorComplete"); +export = IteratorComplete; diff --git a/types/es-abstract/2025/IteratorNext.d.ts b/types/es-abstract/2025/IteratorNext.d.ts new file mode 100644 index 00000000000000..1891ab318eb38a --- /dev/null +++ b/types/es-abstract/2025/IteratorNext.d.ts @@ -0,0 +1,2 @@ +import IteratorNext = require("../2024/IteratorNext"); +export = IteratorNext; diff --git a/types/es-abstract/2025/IteratorStep.d.ts b/types/es-abstract/2025/IteratorStep.d.ts new file mode 100644 index 00000000000000..fe9f3dcca8c1e8 --- /dev/null +++ b/types/es-abstract/2025/IteratorStep.d.ts @@ -0,0 +1,2 @@ +import IteratorStep = require("../2024/IteratorStep"); +export = IteratorStep; diff --git a/types/es-abstract/2025/IteratorValue.d.ts b/types/es-abstract/2025/IteratorValue.d.ts new file mode 100644 index 00000000000000..1e01540793e829 --- /dev/null +++ b/types/es-abstract/2025/IteratorValue.d.ts @@ -0,0 +1,2 @@ +import IteratorValue = require("../2024/IteratorValue"); +export = IteratorValue; diff --git a/types/es-abstract/2025/LengthOfArrayLike.d.ts b/types/es-abstract/2025/LengthOfArrayLike.d.ts new file mode 100644 index 00000000000000..1b3a4ca358ecb7 --- /dev/null +++ b/types/es-abstract/2025/LengthOfArrayLike.d.ts @@ -0,0 +1,2 @@ +import LengthOfArrayLike = require("../2024/LengthOfArrayLike"); +export = LengthOfArrayLike; diff --git a/types/es-abstract/2025/MakeDate.d.ts b/types/es-abstract/2025/MakeDate.d.ts new file mode 100644 index 00000000000000..7dabb1836aece3 --- /dev/null +++ b/types/es-abstract/2025/MakeDate.d.ts @@ -0,0 +1,2 @@ +import MakeDate = require("../2024/MakeDate"); +export = MakeDate; diff --git a/types/es-abstract/2025/MakeDay.d.ts b/types/es-abstract/2025/MakeDay.d.ts new file mode 100644 index 00000000000000..78698a7c75de9b --- /dev/null +++ b/types/es-abstract/2025/MakeDay.d.ts @@ -0,0 +1,2 @@ +import MakeDay = require("../2024/MakeDay"); +export = MakeDay; diff --git a/types/es-abstract/2025/MakeTime.d.ts b/types/es-abstract/2025/MakeTime.d.ts new file mode 100644 index 00000000000000..3680e3dda3c2ba --- /dev/null +++ b/types/es-abstract/2025/MakeTime.d.ts @@ -0,0 +1,2 @@ +import MakeTime = require("../2024/MakeTime"); +export = MakeTime; diff --git a/types/es-abstract/2025/MinFromTime.d.ts b/types/es-abstract/2025/MinFromTime.d.ts new file mode 100644 index 00000000000000..6456674ae15ee2 --- /dev/null +++ b/types/es-abstract/2025/MinFromTime.d.ts @@ -0,0 +1,2 @@ +import MinFromTime = require("../2024/MinFromTime"); +export = MinFromTime; diff --git a/types/es-abstract/2025/MonthFromTime.d.ts b/types/es-abstract/2025/MonthFromTime.d.ts new file mode 100644 index 00000000000000..6d2d23ee7aa078 --- /dev/null +++ b/types/es-abstract/2025/MonthFromTime.d.ts @@ -0,0 +1,2 @@ +import MonthFromTime = require("../2024/MonthFromTime"); +export = MonthFromTime; diff --git a/types/es-abstract/2025/NumberBitwiseOp.d.ts b/types/es-abstract/2025/NumberBitwiseOp.d.ts new file mode 100644 index 00000000000000..c156046da739c9 --- /dev/null +++ b/types/es-abstract/2025/NumberBitwiseOp.d.ts @@ -0,0 +1,2 @@ +import NumberBitwiseOp = require("../2024/NumberBitwiseOp"); +export = NumberBitwiseOp; diff --git a/types/es-abstract/2025/NumberToBigInt.d.ts b/types/es-abstract/2025/NumberToBigInt.d.ts new file mode 100644 index 00000000000000..a37f0824271a19 --- /dev/null +++ b/types/es-abstract/2025/NumberToBigInt.d.ts @@ -0,0 +1,2 @@ +import NumberToBigInt = require("../2024/NumberToBigInt"); +export = NumberToBigInt; diff --git a/types/es-abstract/2025/OrdinaryDefineOwnProperty.d.ts b/types/es-abstract/2025/OrdinaryDefineOwnProperty.d.ts new file mode 100644 index 00000000000000..800d3d077a0727 --- /dev/null +++ b/types/es-abstract/2025/OrdinaryDefineOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryDefineOwnProperty = require("../2024/OrdinaryDefineOwnProperty"); +export = OrdinaryDefineOwnProperty; diff --git a/types/es-abstract/2025/OrdinaryGetOwnProperty.d.ts b/types/es-abstract/2025/OrdinaryGetOwnProperty.d.ts new file mode 100644 index 00000000000000..a56af95cf89f84 --- /dev/null +++ b/types/es-abstract/2025/OrdinaryGetOwnProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetOwnProperty = require("../2024/OrdinaryGetOwnProperty"); +export = OrdinaryGetOwnProperty; diff --git a/types/es-abstract/2025/OrdinaryGetPrototypeOf.d.ts b/types/es-abstract/2025/OrdinaryGetPrototypeOf.d.ts new file mode 100644 index 00000000000000..45d5bf1d1165ca --- /dev/null +++ b/types/es-abstract/2025/OrdinaryGetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinaryGetPrototypeOf = require("../2024/OrdinaryGetPrototypeOf"); +export = OrdinaryGetPrototypeOf; diff --git a/types/es-abstract/2025/OrdinaryHasInstance.d.ts b/types/es-abstract/2025/OrdinaryHasInstance.d.ts new file mode 100644 index 00000000000000..959dc8abc67769 --- /dev/null +++ b/types/es-abstract/2025/OrdinaryHasInstance.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasInstance = require("../2024/OrdinaryHasInstance"); +export = OrdinaryHasInstance; diff --git a/types/es-abstract/2025/OrdinaryHasProperty.d.ts b/types/es-abstract/2025/OrdinaryHasProperty.d.ts new file mode 100644 index 00000000000000..f25a2d6f3bc52b --- /dev/null +++ b/types/es-abstract/2025/OrdinaryHasProperty.d.ts @@ -0,0 +1,2 @@ +import OrdinaryHasProperty = require("../2024/OrdinaryHasProperty"); +export = OrdinaryHasProperty; diff --git a/types/es-abstract/2025/OrdinaryObjectCreate.d.ts b/types/es-abstract/2025/OrdinaryObjectCreate.d.ts new file mode 100644 index 00000000000000..68db68c24379ca --- /dev/null +++ b/types/es-abstract/2025/OrdinaryObjectCreate.d.ts @@ -0,0 +1,2 @@ +import OrdinaryObjectCreate = require("../2024/OrdinaryObjectCreate"); +export = OrdinaryObjectCreate; diff --git a/types/es-abstract/2025/OrdinarySetPrototypeOf.d.ts b/types/es-abstract/2025/OrdinarySetPrototypeOf.d.ts new file mode 100644 index 00000000000000..118ba1aeff39c6 --- /dev/null +++ b/types/es-abstract/2025/OrdinarySetPrototypeOf.d.ts @@ -0,0 +1,2 @@ +import OrdinarySetPrototypeOf = require("../2024/OrdinarySetPrototypeOf"); +export = OrdinarySetPrototypeOf; diff --git a/types/es-abstract/2025/PromiseResolve.d.ts b/types/es-abstract/2025/PromiseResolve.d.ts new file mode 100644 index 00000000000000..1996a3ef41c3d8 --- /dev/null +++ b/types/es-abstract/2025/PromiseResolve.d.ts @@ -0,0 +1,2 @@ +import PromiseResolve = require("../2024/PromiseResolve"); +export = PromiseResolve; diff --git a/types/es-abstract/2025/RegExpExec.d.ts b/types/es-abstract/2025/RegExpExec.d.ts new file mode 100644 index 00000000000000..54e476266eacfa --- /dev/null +++ b/types/es-abstract/2025/RegExpExec.d.ts @@ -0,0 +1,2 @@ +import RegExpExec = require("../2024/RegExpExec"); +export = RegExpExec; diff --git a/types/es-abstract/2025/RequireObjectCoercible.d.ts b/types/es-abstract/2025/RequireObjectCoercible.d.ts new file mode 100644 index 00000000000000..3d5ac027e71747 --- /dev/null +++ b/types/es-abstract/2025/RequireObjectCoercible.d.ts @@ -0,0 +1,2 @@ +import RequireObjectCoercible = require("../2024/RequireObjectCoercible"); +export = RequireObjectCoercible; diff --git a/types/es-abstract/2025/SameValue.d.ts b/types/es-abstract/2025/SameValue.d.ts new file mode 100644 index 00000000000000..50ab1f1f91da62 --- /dev/null +++ b/types/es-abstract/2025/SameValue.d.ts @@ -0,0 +1,2 @@ +import SameValue = require("../2024/SameValue"); +export = SameValue; diff --git a/types/es-abstract/2025/SameValueNonNumber.d.ts b/types/es-abstract/2025/SameValueNonNumber.d.ts new file mode 100644 index 00000000000000..6531d01bef0a63 --- /dev/null +++ b/types/es-abstract/2025/SameValueNonNumber.d.ts @@ -0,0 +1,2 @@ +import SameValueNonNumber = require("../2024/SameValueNonNumber"); +export = SameValueNonNumber; diff --git a/types/es-abstract/2025/SameValueZero.d.ts b/types/es-abstract/2025/SameValueZero.d.ts new file mode 100644 index 00000000000000..0b6c5393ae1f6b --- /dev/null +++ b/types/es-abstract/2025/SameValueZero.d.ts @@ -0,0 +1,2 @@ +import SameValueZero = require("../2024/SameValueZero"); +export = SameValueZero; diff --git a/types/es-abstract/2025/SecFromTime.d.ts b/types/es-abstract/2025/SecFromTime.d.ts new file mode 100644 index 00000000000000..920daa31e104e2 --- /dev/null +++ b/types/es-abstract/2025/SecFromTime.d.ts @@ -0,0 +1,2 @@ +import SecFromTime = require("../2024/SecFromTime"); +export = SecFromTime; diff --git a/types/es-abstract/2025/Set.d.ts b/types/es-abstract/2025/Set.d.ts new file mode 100644 index 00000000000000..7714def38f4dde --- /dev/null +++ b/types/es-abstract/2025/Set.d.ts @@ -0,0 +1,2 @@ +import Set = require("../2024/Set"); +export = Set; diff --git a/types/es-abstract/2025/SetFunctionName.d.ts b/types/es-abstract/2025/SetFunctionName.d.ts new file mode 100644 index 00000000000000..77e86b0f4e45b1 --- /dev/null +++ b/types/es-abstract/2025/SetFunctionName.d.ts @@ -0,0 +1,2 @@ +import SetFunctionName = require("../2024/SetFunctionName"); +export = SetFunctionName; diff --git a/types/es-abstract/2025/SetIntegrityLevel.d.ts b/types/es-abstract/2025/SetIntegrityLevel.d.ts new file mode 100644 index 00000000000000..cf275e47f75a5d --- /dev/null +++ b/types/es-abstract/2025/SetIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import SetIntegrityLevel = require("../2024/SetIntegrityLevel"); +export = SetIntegrityLevel; diff --git a/types/es-abstract/2025/SpeciesConstructor.d.ts b/types/es-abstract/2025/SpeciesConstructor.d.ts new file mode 100644 index 00000000000000..d8d4175e6affbb --- /dev/null +++ b/types/es-abstract/2025/SpeciesConstructor.d.ts @@ -0,0 +1,2 @@ +import SpeciesConstructor = require("../2024/SpeciesConstructor"); +export = SpeciesConstructor; diff --git a/types/es-abstract/2025/StringIndexOf.d.ts b/types/es-abstract/2025/StringIndexOf.d.ts new file mode 100644 index 00000000000000..8e23d0c4e96041 --- /dev/null +++ b/types/es-abstract/2025/StringIndexOf.d.ts @@ -0,0 +1,2 @@ +import StringIndexOf = require("../2024/StringIndexOf"); +export = StringIndexOf; diff --git a/types/es-abstract/2025/StringPad.d.ts b/types/es-abstract/2025/StringPad.d.ts new file mode 100644 index 00000000000000..01b26bda7801df --- /dev/null +++ b/types/es-abstract/2025/StringPad.d.ts @@ -0,0 +1,2 @@ +import StringPad = require("../2024/StringPad"); +export = StringPad; diff --git a/types/es-abstract/2025/StringToBigInt.d.ts b/types/es-abstract/2025/StringToBigInt.d.ts new file mode 100644 index 00000000000000..3578869414341b --- /dev/null +++ b/types/es-abstract/2025/StringToBigInt.d.ts @@ -0,0 +1,2 @@ +import StringToBigInt = require("../2024/StringToBigInt"); +export = StringToBigInt; diff --git a/types/es-abstract/2025/StringToCodePoints.d.ts b/types/es-abstract/2025/StringToCodePoints.d.ts new file mode 100644 index 00000000000000..4509aa2e0d43ab --- /dev/null +++ b/types/es-abstract/2025/StringToCodePoints.d.ts @@ -0,0 +1,2 @@ +import StringToCodePoints = require("../2024/StringToCodePoints"); +export = StringToCodePoints; diff --git a/types/es-abstract/2025/StringToNumber.d.ts b/types/es-abstract/2025/StringToNumber.d.ts new file mode 100644 index 00000000000000..e00a328a508529 --- /dev/null +++ b/types/es-abstract/2025/StringToNumber.d.ts @@ -0,0 +1,2 @@ +import StringToNumber = require("../2024/StringToNumber"); +export = StringToNumber; diff --git a/types/es-abstract/2025/SymbolDescriptiveString.d.ts b/types/es-abstract/2025/SymbolDescriptiveString.d.ts new file mode 100644 index 00000000000000..e5f4314313b06a --- /dev/null +++ b/types/es-abstract/2025/SymbolDescriptiveString.d.ts @@ -0,0 +1,2 @@ +import SymbolDescriptiveString = require("../2024/SymbolDescriptiveString"); +export = SymbolDescriptiveString; diff --git a/types/es-abstract/2025/TestIntegrityLevel.d.ts b/types/es-abstract/2025/TestIntegrityLevel.d.ts new file mode 100644 index 00000000000000..d56a8e1b9d28bb --- /dev/null +++ b/types/es-abstract/2025/TestIntegrityLevel.d.ts @@ -0,0 +1,2 @@ +import TestIntegrityLevel = require("../2024/TestIntegrityLevel"); +export = TestIntegrityLevel; diff --git a/types/es-abstract/2025/TimeClip.d.ts b/types/es-abstract/2025/TimeClip.d.ts new file mode 100644 index 00000000000000..b6400569a655f2 --- /dev/null +++ b/types/es-abstract/2025/TimeClip.d.ts @@ -0,0 +1,2 @@ +import TimeClip = require("../2024/TimeClip"); +export = TimeClip; diff --git a/types/es-abstract/2025/TimeFromYear.d.ts b/types/es-abstract/2025/TimeFromYear.d.ts new file mode 100644 index 00000000000000..f21dbc7d75b8d3 --- /dev/null +++ b/types/es-abstract/2025/TimeFromYear.d.ts @@ -0,0 +1,2 @@ +import TimeFromYear = require("../2024/TimeFromYear"); +export = TimeFromYear; diff --git a/types/es-abstract/2025/TimeString.d.ts b/types/es-abstract/2025/TimeString.d.ts new file mode 100644 index 00000000000000..00cb810ee38372 --- /dev/null +++ b/types/es-abstract/2025/TimeString.d.ts @@ -0,0 +1,2 @@ +import TimeString = require("../2024/TimeString"); +export = TimeString; diff --git a/types/es-abstract/2025/TimeWithinDay.d.ts b/types/es-abstract/2025/TimeWithinDay.d.ts new file mode 100644 index 00000000000000..71ea2ea33f1d9d --- /dev/null +++ b/types/es-abstract/2025/TimeWithinDay.d.ts @@ -0,0 +1,2 @@ +import TimeWithinDay = require("../2024/TimeWithinDay"); +export = TimeWithinDay; diff --git a/types/es-abstract/2025/ToBigInt.d.ts b/types/es-abstract/2025/ToBigInt.d.ts new file mode 100644 index 00000000000000..990858c6148b88 --- /dev/null +++ b/types/es-abstract/2025/ToBigInt.d.ts @@ -0,0 +1,2 @@ +import ToBigInt = require("../2024/ToBigInt"); +export = ToBigInt; diff --git a/types/es-abstract/2025/ToBigInt64.d.ts b/types/es-abstract/2025/ToBigInt64.d.ts new file mode 100644 index 00000000000000..1a0f9143bc5cd8 --- /dev/null +++ b/types/es-abstract/2025/ToBigInt64.d.ts @@ -0,0 +1,2 @@ +import ToBigInt64 = require("../2024/ToBigInt64"); +export = ToBigInt64; diff --git a/types/es-abstract/2025/ToBigUint64.d.ts b/types/es-abstract/2025/ToBigUint64.d.ts new file mode 100644 index 00000000000000..bdc7597cb21918 --- /dev/null +++ b/types/es-abstract/2025/ToBigUint64.d.ts @@ -0,0 +1,2 @@ +import ToBigUint64 = require("../2024/ToBigUint64"); +export = ToBigUint64; diff --git a/types/es-abstract/2025/ToBoolean.d.ts b/types/es-abstract/2025/ToBoolean.d.ts new file mode 100644 index 00000000000000..70d65d7be570f7 --- /dev/null +++ b/types/es-abstract/2025/ToBoolean.d.ts @@ -0,0 +1,2 @@ +import ToBoolean = require("../2024/ToBoolean"); +export = ToBoolean; diff --git a/types/es-abstract/2025/ToDateString.d.ts b/types/es-abstract/2025/ToDateString.d.ts new file mode 100644 index 00000000000000..90ae10d448ad06 --- /dev/null +++ b/types/es-abstract/2025/ToDateString.d.ts @@ -0,0 +1,2 @@ +import ToDateString = require("../2024/ToDateString"); +export = ToDateString; diff --git a/types/es-abstract/2025/ToIndex.d.ts b/types/es-abstract/2025/ToIndex.d.ts new file mode 100644 index 00000000000000..ea1517b1abc08d --- /dev/null +++ b/types/es-abstract/2025/ToIndex.d.ts @@ -0,0 +1,2 @@ +import ToIndex = require("../2024/ToIndex"); +export = ToIndex; diff --git a/types/es-abstract/2025/ToInt16.d.ts b/types/es-abstract/2025/ToInt16.d.ts new file mode 100644 index 00000000000000..df65aab727b79d --- /dev/null +++ b/types/es-abstract/2025/ToInt16.d.ts @@ -0,0 +1,2 @@ +import ToInt16 = require("../2024/ToInt16"); +export = ToInt16; diff --git a/types/es-abstract/2025/ToInt32.d.ts b/types/es-abstract/2025/ToInt32.d.ts new file mode 100644 index 00000000000000..d27879b46b91eb --- /dev/null +++ b/types/es-abstract/2025/ToInt32.d.ts @@ -0,0 +1,2 @@ +import ToInt32 = require("../2024/ToInt32"); +export = ToInt32; diff --git a/types/es-abstract/2025/ToInt8.d.ts b/types/es-abstract/2025/ToInt8.d.ts new file mode 100644 index 00000000000000..c7dba3dfb2f667 --- /dev/null +++ b/types/es-abstract/2025/ToInt8.d.ts @@ -0,0 +1,2 @@ +import ToInt8 = require("../2024/ToInt8"); +export = ToInt8; diff --git a/types/es-abstract/2025/ToIntegerOrInfinity.d.ts b/types/es-abstract/2025/ToIntegerOrInfinity.d.ts new file mode 100644 index 00000000000000..b591e4d4b9127d --- /dev/null +++ b/types/es-abstract/2025/ToIntegerOrInfinity.d.ts @@ -0,0 +1,2 @@ +import ToIntegerOrInfinity = require("../2024/ToIntegerOrInfinity"); +export = ToIntegerOrInfinity; diff --git a/types/es-abstract/2025/ToLength.d.ts b/types/es-abstract/2025/ToLength.d.ts new file mode 100644 index 00000000000000..de1113f5587e35 --- /dev/null +++ b/types/es-abstract/2025/ToLength.d.ts @@ -0,0 +1,2 @@ +import ToLength = require("../2024/ToLength"); +export = ToLength; diff --git a/types/es-abstract/2025/ToNumber.d.ts b/types/es-abstract/2025/ToNumber.d.ts new file mode 100644 index 00000000000000..7d2cd9b3994a0d --- /dev/null +++ b/types/es-abstract/2025/ToNumber.d.ts @@ -0,0 +1,2 @@ +import ToNumber = require("../2024/ToNumber"); +export = ToNumber; diff --git a/types/es-abstract/2025/ToNumeric.d.ts b/types/es-abstract/2025/ToNumeric.d.ts new file mode 100644 index 00000000000000..bbe4c15d1a57ae --- /dev/null +++ b/types/es-abstract/2025/ToNumeric.d.ts @@ -0,0 +1,2 @@ +import ToNumeric = require("../2024/ToNumeric"); +export = ToNumeric; diff --git a/types/es-abstract/2025/ToObject.d.ts b/types/es-abstract/2025/ToObject.d.ts new file mode 100644 index 00000000000000..fdb6ad4ee70b6f --- /dev/null +++ b/types/es-abstract/2025/ToObject.d.ts @@ -0,0 +1,2 @@ +import ToObject = require("../2024/ToObject"); +export = ToObject; diff --git a/types/es-abstract/2025/ToPrimitive.d.ts b/types/es-abstract/2025/ToPrimitive.d.ts new file mode 100644 index 00000000000000..4cf6ac1725b38e --- /dev/null +++ b/types/es-abstract/2025/ToPrimitive.d.ts @@ -0,0 +1,2 @@ +import ToPrimitive = require("../2024/ToPrimitive"); +export = ToPrimitive; diff --git a/types/es-abstract/2025/ToPropertyDescriptor.d.ts b/types/es-abstract/2025/ToPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..3f20bd710ca6a0 --- /dev/null +++ b/types/es-abstract/2025/ToPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ToPropertyDescriptor = require("../2024/ToPropertyDescriptor"); +export = ToPropertyDescriptor; diff --git a/types/es-abstract/2025/ToPropertyKey.d.ts b/types/es-abstract/2025/ToPropertyKey.d.ts new file mode 100644 index 00000000000000..ed466221548f1f --- /dev/null +++ b/types/es-abstract/2025/ToPropertyKey.d.ts @@ -0,0 +1,2 @@ +import ToPropertyKey = require("../2024/ToPropertyKey"); +export = ToPropertyKey; diff --git a/types/es-abstract/2025/ToString.d.ts b/types/es-abstract/2025/ToString.d.ts new file mode 100644 index 00000000000000..02bcaffd91bf0b --- /dev/null +++ b/types/es-abstract/2025/ToString.d.ts @@ -0,0 +1,2 @@ +import ToString = require("../2024/ToString"); +export = ToString; diff --git a/types/es-abstract/2025/ToUint16.d.ts b/types/es-abstract/2025/ToUint16.d.ts new file mode 100644 index 00000000000000..f0f6e123cf775a --- /dev/null +++ b/types/es-abstract/2025/ToUint16.d.ts @@ -0,0 +1,2 @@ +import ToUint16 = require("../2024/ToUint16"); +export = ToUint16; diff --git a/types/es-abstract/2025/ToUint32.d.ts b/types/es-abstract/2025/ToUint32.d.ts new file mode 100644 index 00000000000000..83ca18f27452f3 --- /dev/null +++ b/types/es-abstract/2025/ToUint32.d.ts @@ -0,0 +1,2 @@ +import ToUint32 = require("../2024/ToUint32"); +export = ToUint32; diff --git a/types/es-abstract/2025/ToUint8.d.ts b/types/es-abstract/2025/ToUint8.d.ts new file mode 100644 index 00000000000000..87468515d58ac9 --- /dev/null +++ b/types/es-abstract/2025/ToUint8.d.ts @@ -0,0 +1,2 @@ +import ToUint8 = require("../2024/ToUint8"); +export = ToUint8; diff --git a/types/es-abstract/2025/ToUint8Clamp.d.ts b/types/es-abstract/2025/ToUint8Clamp.d.ts new file mode 100644 index 00000000000000..f769291b4e9d92 --- /dev/null +++ b/types/es-abstract/2025/ToUint8Clamp.d.ts @@ -0,0 +1,2 @@ +import ToUint8Clamp = require("../2024/ToUint8Clamp"); +export = ToUint8Clamp; diff --git a/types/es-abstract/2025/TrimString.d.ts b/types/es-abstract/2025/TrimString.d.ts new file mode 100644 index 00000000000000..e9779884e61f7a --- /dev/null +++ b/types/es-abstract/2025/TrimString.d.ts @@ -0,0 +1,2 @@ +import TrimString = require("../2024/TrimString"); +export = TrimString; diff --git a/types/es-abstract/2025/ValidateAndApplyPropertyDescriptor.d.ts b/types/es-abstract/2025/ValidateAndApplyPropertyDescriptor.d.ts new file mode 100644 index 00000000000000..9d464f44bc55a7 --- /dev/null +++ b/types/es-abstract/2025/ValidateAndApplyPropertyDescriptor.d.ts @@ -0,0 +1,2 @@ +import ValidateAndApplyPropertyDescriptor = require("../2024/ValidateAndApplyPropertyDescriptor"); +export = ValidateAndApplyPropertyDescriptor; diff --git a/types/es-abstract/2025/WeekDay.d.ts b/types/es-abstract/2025/WeekDay.d.ts new file mode 100644 index 00000000000000..d6c5985af40ec0 --- /dev/null +++ b/types/es-abstract/2025/WeekDay.d.ts @@ -0,0 +1,2 @@ +import WeekDay = require("../2024/WeekDay"); +export = WeekDay; diff --git a/types/es-abstract/2025/YearFromTime.d.ts b/types/es-abstract/2025/YearFromTime.d.ts new file mode 100644 index 00000000000000..cf277034d43d80 --- /dev/null +++ b/types/es-abstract/2025/YearFromTime.d.ts @@ -0,0 +1,2 @@ +import YearFromTime = require("../2024/YearFromTime"); +export = YearFromTime; diff --git a/types/es-abstract/2025/clamp.d.ts b/types/es-abstract/2025/clamp.d.ts new file mode 100644 index 00000000000000..c759d04b48817a --- /dev/null +++ b/types/es-abstract/2025/clamp.d.ts @@ -0,0 +1,2 @@ +import clamp = require("../2024/clamp"); +export = clamp; diff --git a/types/es-abstract/2025/modulo.d.ts b/types/es-abstract/2025/modulo.d.ts new file mode 100644 index 00000000000000..a0ae0830038e5c --- /dev/null +++ b/types/es-abstract/2025/modulo.d.ts @@ -0,0 +1,2 @@ +import modulo = require("../2024/modulo"); +export = modulo; diff --git a/types/es-abstract/2025/msFromTime.d.ts b/types/es-abstract/2025/msFromTime.d.ts new file mode 100644 index 00000000000000..046f68adb2cb63 --- /dev/null +++ b/types/es-abstract/2025/msFromTime.d.ts @@ -0,0 +1,2 @@ +import msFromTime = require("../2024/msFromTime"); +export = msFromTime; diff --git a/types/es-abstract/2025/substring.d.ts b/types/es-abstract/2025/substring.d.ts new file mode 100644 index 00000000000000..237d1739fa03a1 --- /dev/null +++ b/types/es-abstract/2025/substring.d.ts @@ -0,0 +1,2 @@ +import substring = require("../2024/substring"); +export = substring; diff --git a/types/es-abstract/2025/truncate.d.ts b/types/es-abstract/2025/truncate.d.ts new file mode 100644 index 00000000000000..0ccba528778337 --- /dev/null +++ b/types/es-abstract/2025/truncate.d.ts @@ -0,0 +1,2 @@ +import truncate = require("../2024/truncate"); +export = truncate; diff --git a/types/es-abstract/es-abstract-tests.ts b/types/es-abstract/es-abstract-tests.ts index e2a27bcc85cff1..ddeeae09878d09 100644 --- a/types/es-abstract/es-abstract-tests.ts +++ b/types/es-abstract/es-abstract-tests.ts @@ -5,6 +5,12 @@ import "./test/es2016.test"; import "./test/es2017.test"; import "./test/es2018.test"; import "./test/es2019.test"; +import "./test/es2020.test"; +import "./test/es2021.test"; +import "./test/es2022.test"; +import "./test/es2023.test"; +import "./test/es2024.test"; +import "./test/es2025.test"; import "./test/index.test"; // #region ./test/helpers/ @@ -26,7 +32,9 @@ import "./test/helpers/isNaN.test"; import "./test/helpers/isPrefixOf.test"; import "./test/helpers/isPrimitive.test"; import "./test/helpers/isPropertyDescriptor.test"; +import "./test/helpers/isPropertyKey.test"; import "./test/helpers/isSamePropertyDescriptor.test"; +import "./test/helpers/isStringOrUndefined.test"; import "./test/helpers/maxSafeInteger.test"; import "./test/helpers/mod.test"; import "./test/helpers/padTimeComponent.test"; diff --git a/types/es-abstract/es2020.d.ts b/types/es-abstract/es2020.d.ts new file mode 100644 index 00000000000000..62e8515f1339ac --- /dev/null +++ b/types/es-abstract/es2020.d.ts @@ -0,0 +1,166 @@ +import ES2019 = require("./es2019"); + +interface ES2020 { + readonly "Abstract Equality Comparison": typeof import("./2020/AbstractEqualityComparison"); + readonly "Abstract Relational Comparison": typeof import("./2020/AbstractRelationalComparison"); + readonly "Strict Equality Comparison": typeof import("./2020/StrictEqualityComparison"); + readonly AddEntriesFromIterable: typeof import("./2020/AddEntriesFromIterable"); + readonly AdvanceStringIndex: typeof import("./2020/AdvanceStringIndex"); + readonly ArrayCreate: typeof import("./2020/ArrayCreate"); + readonly ArraySetLength: typeof import("./2020/ArraySetLength"); + readonly ArraySpeciesCreate: typeof import("./2020/ArraySpeciesCreate"); + readonly BigIntBitwiseOp: typeof import("./2020/BigIntBitwiseOp"); + readonly BinaryAnd: typeof import("./2020/BinaryAnd"); + readonly BinaryOr: typeof import("./2020/BinaryOr"); + readonly BinaryXor: typeof import("./2020/BinaryXor"); + readonly Call: typeof import("./2020/Call"); + readonly CanonicalNumericIndexString: typeof import("./2020/CanonicalNumericIndexString"); + readonly CodePointAt: typeof import("./2020/CodePointAt"); + readonly CompletePropertyDescriptor: typeof import("./2020/CompletePropertyDescriptor"); + readonly CopyDataProperties: typeof import("./2020/CopyDataProperties"); + readonly CreateDataProperty: typeof import("./2020/CreateDataProperty"); + readonly CreateDataPropertyOrThrow: typeof import("./2020/CreateDataPropertyOrThrow"); + readonly CreateHTML: typeof import("./2020/CreateHTML"); + readonly CreateIterResultObject: typeof import("./2020/CreateIterResultObject"); + readonly CreateListFromArrayLike: typeof import("./2020/CreateListFromArrayLike"); + readonly CreateMethodProperty: typeof import("./2020/CreateMethodProperty"); + readonly CreateRegExpStringIterator: typeof import("./2020/CreateRegExpStringIterator"); + readonly DateFromTime: typeof import("./2020/DateFromTime"); + readonly DateString: typeof import("./2020/DateString"); + readonly Day: typeof import("./2020/Day"); + readonly DayFromYear: typeof import("./2020/DayFromYear"); + readonly DaysInYear: typeof import("./2020/DaysInYear"); + readonly DayWithinYear: typeof import("./2020/DayWithinYear"); + readonly DefinePropertyOrThrow: typeof import("./2020/DefinePropertyOrThrow"); + readonly DeletePropertyOrThrow: typeof import("./2020/DeletePropertyOrThrow"); + readonly EnumerableOwnPropertyNames: typeof import("./2020/EnumerableOwnPropertyNames"); + readonly FlattenIntoArray: typeof import("./2020/FlattenIntoArray"); + readonly FromPropertyDescriptor: typeof import("./2020/FromPropertyDescriptor"); + readonly Get: typeof import("./2020/Get"); + readonly GetIterator: typeof import("./2020/GetIterator"); + readonly GetMethod: typeof import("./2020/GetMethod"); + readonly GetOwnPropertyKeys: typeof import("./2020/GetOwnPropertyKeys"); + readonly GetPrototypeFromConstructor: typeof import("./2020/GetPrototypeFromConstructor"); + readonly GetSubstitution: typeof import("./2020/GetSubstitution"); + readonly GetV: typeof import("./2020/GetV"); + readonly HasOwnProperty: typeof import("./2020/HasOwnProperty"); + readonly HasProperty: typeof import("./2020/HasProperty"); + readonly HourFromTime: typeof import("./2020/HourFromTime"); + readonly InLeapYear: typeof import("./2020/InLeapYear"); + readonly InstanceofOperator: typeof import("./2020/InstanceofOperator"); + readonly Invoke: typeof import("./2020/Invoke"); + readonly IsAccessorDescriptor: typeof import("./2020/IsAccessorDescriptor"); + readonly IsArray: typeof import("./2020/IsArray"); + readonly IsCallable: typeof import("./2020/IsCallable"); + readonly IsConcatSpreadable: typeof import("./2020/IsConcatSpreadable"); + readonly IsConstructor: typeof import("./2020/IsConstructor"); + readonly IsDataDescriptor: typeof import("./2020/IsDataDescriptor"); + readonly IsExtensible: typeof import("./2020/IsExtensible"); + readonly IsGenericDescriptor: typeof import("./2020/IsGenericDescriptor"); + readonly IsInteger: typeof import("./2020/IsInteger"); + readonly IsNonNegativeInteger: typeof import("./2020/IsNonNegativeInteger"); + readonly IsPromise: typeof import("./2020/IsPromise"); + readonly IsPropertyKey: typeof import("./2020/IsPropertyKey"); + readonly IsRegExp: typeof import("./2020/IsRegExp"); + readonly IsStringPrefix: typeof import("./2020/IsStringPrefix"); + readonly IterableToList: typeof import("./2020/IterableToList"); + readonly IteratorClose: typeof import("./2020/IteratorClose"); + readonly IteratorComplete: typeof import("./2020/IteratorComplete"); + readonly IteratorNext: typeof import("./2020/IteratorNext"); + readonly IteratorStep: typeof import("./2020/IteratorStep"); + readonly IteratorValue: typeof import("./2020/IteratorValue"); + readonly LengthOfArrayLike: typeof import("./2020/LengthOfArrayLike"); + readonly MakeDate: typeof import("./2020/MakeDate"); + readonly MakeDay: typeof import("./2020/MakeDay"); + readonly MakeTime: typeof import("./2020/MakeTime"); + readonly MinFromTime: typeof import("./2020/MinFromTime"); + readonly modulo: typeof import("./2020/modulo"); + readonly MonthFromTime: typeof import("./2020/MonthFromTime"); + readonly msFromTime: typeof import("./2020/msFromTime"); + readonly NumberBitwiseOp: typeof import("./2020/NumberBitwiseOp"); + readonly NumberToBigInt: typeof import("./2020/NumberToBigInt"); + readonly OrdinaryDefineOwnProperty: typeof import("./2020/OrdinaryDefineOwnProperty"); + readonly OrdinaryGetOwnProperty: typeof import("./2020/OrdinaryGetOwnProperty"); + readonly OrdinaryGetPrototypeOf: typeof import("./2020/OrdinaryGetPrototypeOf"); + readonly OrdinaryHasInstance: typeof import("./2020/OrdinaryHasInstance"); + readonly OrdinaryHasProperty: typeof import("./2020/OrdinaryHasProperty"); + readonly OrdinaryObjectCreate: typeof import("./2020/OrdinaryObjectCreate"); + readonly OrdinarySetPrototypeOf: typeof import("./2020/OrdinarySetPrototypeOf"); + readonly PromiseResolve: typeof import("./2020/PromiseResolve"); + readonly RegExpExec: typeof import("./2020/RegExpExec"); + readonly RequireObjectCoercible: typeof import("./2020/RequireObjectCoercible"); + readonly SameValue: typeof import("./2020/SameValue"); + readonly SameValueNonNumeric: typeof import("./2020/SameValueNonNumeric"); + readonly SameValueZero: typeof import("./2020/SameValueZero"); + readonly SecFromTime: typeof import("./2020/SecFromTime"); + readonly Set: typeof import("./2020/Set"); + readonly SetFunctionName: typeof import("./2020/SetFunctionName"); + readonly SetIntegrityLevel: typeof import("./2020/SetIntegrityLevel"); + readonly SpeciesConstructor: typeof import("./2020/SpeciesConstructor"); + readonly StrictEqualityComparison: typeof import("./2020/StrictEqualityComparison"); + readonly StringPad: typeof import("./2020/StringPad"); + readonly StringToBigInt: typeof import("./2020/StringToBigInt"); + readonly SymbolDescriptiveString: typeof import("./2020/SymbolDescriptiveString"); + readonly TestIntegrityLevel: typeof import("./2020/TestIntegrityLevel"); + readonly thisBigIntValue: typeof import("./2020/thisBigIntValue"); + readonly thisBooleanValue: typeof import("./2020/thisBooleanValue"); + readonly thisNumberValue: typeof import("./2020/thisNumberValue"); + readonly thisStringValue: typeof import("./2020/thisStringValue"); + readonly thisSymbolValue: typeof import("./2020/thisSymbolValue"); + readonly thisTimeValue: typeof import("./2020/thisTimeValue"); + readonly TimeClip: typeof import("./2020/TimeClip"); + readonly TimeFromYear: typeof import("./2020/TimeFromYear"); + readonly TimeString: typeof import("./2020/TimeString"); + readonly TimeWithinDay: typeof import("./2020/TimeWithinDay"); + readonly ToBigInt: typeof import("./2020/ToBigInt"); + readonly ToBigInt64: typeof import("./2020/ToBigInt64"); + readonly ToBigUint64: typeof import("./2020/ToBigUint64"); + readonly ToBoolean: typeof import("./2020/ToBoolean"); + readonly ToDateString: typeof import("./2020/ToDateString"); + readonly ToIndex: typeof import("./2020/ToIndex"); + readonly ToInt16: typeof import("./2020/ToInt16"); + readonly ToInt32: typeof import("./2020/ToInt32"); + readonly ToInt8: typeof import("./2020/ToInt8"); + readonly ToInteger: typeof import("./2020/ToInteger"); + readonly ToLength: typeof import("./2020/ToLength"); + readonly ToNumber: typeof import("./2020/ToNumber"); + readonly ToNumeric: typeof import("./2020/ToNumeric"); + readonly ToObject: typeof import("./2020/ToObject"); + readonly ToPrimitive: typeof import("./2020/ToPrimitive"); + readonly ToPropertyDescriptor: typeof import("./2020/ToPropertyDescriptor"); + readonly ToPropertyKey: typeof import("./2020/ToPropertyKey"); + readonly ToString: typeof import("./2020/ToString"); + readonly ToUint16: typeof import("./2020/ToUint16"); + readonly ToUint32: typeof import("./2020/ToUint32"); + readonly ToUint8: typeof import("./2020/ToUint8"); + readonly ToUint8Clamp: typeof import("./2020/ToUint8Clamp"); + readonly TrimString: typeof import("./2020/TrimString"); + readonly Type: typeof import("./2020/Type"); + readonly UTF16DecodeString: typeof import("./2020/UTF16DecodeString"); + readonly UTF16DecodeSurrogatePair: typeof import("./2020/UTF16DecodeSurrogatePair"); + readonly ValidateAndApplyPropertyDescriptor: typeof import("./2020/ValidateAndApplyPropertyDescriptor"); + readonly WeekDay: typeof import("./2020/WeekDay"); + readonly YearFromTime: typeof import("./2020/YearFromTime"); +} + +declare namespace ES2020 { + // Re-export types from previous versions + // - ES2015: + type PropertyKey = ES2019.PropertyKey; + + // - ES5: + type GenericDescriptor = ES2019.GenericDescriptor; + type AccessorDescriptor = ES2019.AccessorDescriptor; + type DataDescriptor = ES2019.DataDescriptor; + type PropertyDescriptor = ES2019.PropertyDescriptor; + + // ES2020 types: + interface CodePointRecord { + "[[CodePoint]]": string; + "[[CodeUnitCount]]": 1 | 2; + "[[IsUnpairedSurrogate]]": boolean; + } +} + +declare const ES2020: ES2020; +export = ES2020; diff --git a/types/es-abstract/es2021.d.ts b/types/es-abstract/es2021.d.ts new file mode 100644 index 00000000000000..fdc01bfdd2ac2f --- /dev/null +++ b/types/es-abstract/es2021.d.ts @@ -0,0 +1,161 @@ +import ES2020 = require("./es2020"); + +interface ES2021 { + readonly "Abstract Equality Comparison": typeof import("./2021/AbstractEqualityComparison"); + readonly "Abstract Relational Comparison": typeof import("./2021/AbstractRelationalComparison"); + readonly "Strict Equality Comparison": typeof import("./2021/StrictEqualityComparison"); + readonly AddEntriesFromIterable: typeof import("./2021/AddEntriesFromIterable"); + readonly AdvanceStringIndex: typeof import("./2021/AdvanceStringIndex"); + readonly ArrayCreate: typeof import("./2021/ArrayCreate"); + readonly ArraySetLength: typeof import("./2021/ArraySetLength"); + readonly ArraySpeciesCreate: typeof import("./2021/ArraySpeciesCreate"); + readonly BigIntBitwiseOp: typeof import("./2021/BigIntBitwiseOp"); + readonly BinaryAnd: typeof import("./2021/BinaryAnd"); + readonly BinaryOr: typeof import("./2021/BinaryOr"); + readonly BinaryXor: typeof import("./2021/BinaryXor"); + readonly Call: typeof import("./2021/Call"); + readonly CanonicalNumericIndexString: typeof import("./2021/CanonicalNumericIndexString"); + readonly clamp: typeof import("./2021/clamp"); + readonly CodePointAt: typeof import("./2021/CodePointAt"); + readonly CodePointsToString: typeof import("./2021/CodePointsToString"); + readonly CompletePropertyDescriptor: typeof import("./2021/CompletePropertyDescriptor"); + readonly CopyDataProperties: typeof import("./2021/CopyDataProperties"); + readonly CreateDataProperty: typeof import("./2021/CreateDataProperty"); + readonly CreateDataPropertyOrThrow: typeof import("./2021/CreateDataPropertyOrThrow"); + readonly CreateHTML: typeof import("./2021/CreateHTML"); + readonly CreateIterResultObject: typeof import("./2021/CreateIterResultObject"); + readonly CreateListFromArrayLike: typeof import("./2021/CreateListFromArrayLike"); + readonly CreateMethodProperty: typeof import("./2021/CreateMethodProperty"); + readonly CreateRegExpStringIterator: typeof import("./2021/CreateRegExpStringIterator"); + readonly DateFromTime: typeof import("./2021/DateFromTime"); + readonly DateString: typeof import("./2021/DateString"); + readonly Day: typeof import("./2021/Day"); + readonly DayFromYear: typeof import("./2021/DayFromYear"); + readonly DaysInYear: typeof import("./2021/DaysInYear"); + readonly DayWithinYear: typeof import("./2021/DayWithinYear"); + readonly DefinePropertyOrThrow: typeof import("./2021/DefinePropertyOrThrow"); + readonly DeletePropertyOrThrow: typeof import("./2021/DeletePropertyOrThrow"); + readonly EnumerableOwnPropertyNames: typeof import("./2021/EnumerableOwnPropertyNames"); + readonly FlattenIntoArray: typeof import("./2021/FlattenIntoArray"); + readonly FromPropertyDescriptor: typeof import("./2021/FromPropertyDescriptor"); + readonly Get: typeof import("./2021/Get"); + readonly GetIterator: typeof import("./2021/GetIterator"); + readonly GetMethod: typeof import("./2021/GetMethod"); + readonly GetOwnPropertyKeys: typeof import("./2021/GetOwnPropertyKeys"); + readonly GetPrototypeFromConstructor: typeof import("./2021/GetPrototypeFromConstructor"); + readonly GetSubstitution: typeof import("./2021/GetSubstitution"); + readonly GetV: typeof import("./2021/GetV"); + readonly HasOwnProperty: typeof import("./2021/HasOwnProperty"); + readonly HasProperty: typeof import("./2021/HasProperty"); + readonly HourFromTime: typeof import("./2021/HourFromTime"); + readonly InLeapYear: typeof import("./2021/InLeapYear"); + readonly InstanceofOperator: typeof import("./2021/InstanceofOperator"); + readonly Invoke: typeof import("./2021/Invoke"); + readonly IsAccessorDescriptor: typeof import("./2021/IsAccessorDescriptor"); + readonly IsArray: typeof import("./2021/IsArray"); + readonly IsCallable: typeof import("./2021/IsCallable"); + readonly IsConcatSpreadable: typeof import("./2021/IsConcatSpreadable"); + readonly IsConstructor: typeof import("./2021/IsConstructor"); + readonly IsDataDescriptor: typeof import("./2021/IsDataDescriptor"); + readonly IsExtensible: typeof import("./2021/IsExtensible"); + readonly IsGenericDescriptor: typeof import("./2021/IsGenericDescriptor"); + readonly IsIntegralNumber: typeof import("./2021/IsIntegralNumber"); + readonly IsPromise: typeof import("./2021/IsPromise"); + readonly IsPropertyKey: typeof import("./2021/IsPropertyKey"); + readonly IsRegExp: typeof import("./2021/IsRegExp"); + readonly IsStringPrefix: typeof import("./2021/IsStringPrefix"); + readonly IterableToList: typeof import("./2021/IterableToList"); + readonly IteratorClose: typeof import("./2021/IteratorClose"); + readonly IteratorComplete: typeof import("./2021/IteratorComplete"); + readonly IteratorNext: typeof import("./2021/IteratorNext"); + readonly IteratorStep: typeof import("./2021/IteratorStep"); + readonly IteratorValue: typeof import("./2021/IteratorValue"); + readonly LengthOfArrayLike: typeof import("./2021/LengthOfArrayLike"); + readonly MakeDate: typeof import("./2021/MakeDate"); + readonly MakeDay: typeof import("./2021/MakeDay"); + readonly MakeTime: typeof import("./2021/MakeTime"); + readonly MinFromTime: typeof import("./2021/MinFromTime"); + readonly modulo: typeof import("./2021/modulo"); + readonly MonthFromTime: typeof import("./2021/MonthFromTime"); + readonly msFromTime: typeof import("./2021/msFromTime"); + readonly NumberBitwiseOp: typeof import("./2021/NumberBitwiseOp"); + readonly NumberToBigInt: typeof import("./2021/NumberToBigInt"); + readonly OrdinaryDefineOwnProperty: typeof import("./2021/OrdinaryDefineOwnProperty"); + readonly OrdinaryGetOwnProperty: typeof import("./2021/OrdinaryGetOwnProperty"); + readonly OrdinaryGetPrototypeOf: typeof import("./2021/OrdinaryGetPrototypeOf"); + readonly OrdinaryHasInstance: typeof import("./2021/OrdinaryHasInstance"); + readonly OrdinaryHasProperty: typeof import("./2021/OrdinaryHasProperty"); + readonly OrdinaryObjectCreate: typeof import("./2021/OrdinaryObjectCreate"); + readonly OrdinarySetPrototypeOf: typeof import("./2021/OrdinarySetPrototypeOf"); + readonly PromiseResolve: typeof import("./2021/PromiseResolve"); + readonly RegExpExec: typeof import("./2021/RegExpExec"); + readonly RequireObjectCoercible: typeof import("./2021/RequireObjectCoercible"); + readonly SameValue: typeof import("./2021/SameValue"); + readonly SameValueNonNumeric: typeof import("./2021/SameValueNonNumeric"); + readonly SameValueZero: typeof import("./2021/SameValueZero"); + readonly SecFromTime: typeof import("./2021/SecFromTime"); + readonly Set: typeof import("./2021/Set"); + readonly SetFunctionName: typeof import("./2021/SetFunctionName"); + readonly SetIntegrityLevel: typeof import("./2021/SetIntegrityLevel"); + readonly SpeciesConstructor: typeof import("./2021/SpeciesConstructor"); + readonly StrictEqualityComparison: typeof import("./2021/StrictEqualityComparison"); + readonly StringIndexOf: typeof import("./2021/StringIndexOf"); + readonly StringPad: typeof import("./2021/StringPad"); + readonly StringToBigInt: typeof import("./2021/StringToBigInt"); + readonly StringToCodePoints: typeof import("./2021/StringToCodePoints"); + readonly substring: typeof import("./2021/substring"); + readonly SymbolDescriptiveString: typeof import("./2021/SymbolDescriptiveString"); + readonly TestIntegrityLevel: typeof import("./2021/TestIntegrityLevel"); + readonly thisBigIntValue: typeof import("./2021/thisBigIntValue"); + readonly thisBooleanValue: typeof import("./2021/thisBooleanValue"); + readonly thisNumberValue: typeof import("./2021/thisNumberValue"); + readonly thisStringValue: typeof import("./2021/thisStringValue"); + readonly thisSymbolValue: typeof import("./2021/thisSymbolValue"); + readonly thisTimeValue: typeof import("./2021/thisTimeValue"); + readonly TimeClip: typeof import("./2021/TimeClip"); + readonly TimeFromYear: typeof import("./2021/TimeFromYear"); + readonly TimeString: typeof import("./2021/TimeString"); + readonly TimeWithinDay: typeof import("./2021/TimeWithinDay"); + readonly ToBigInt: typeof import("./2021/ToBigInt"); + readonly ToBigInt64: typeof import("./2021/ToBigInt64"); + readonly ToBigUint64: typeof import("./2021/ToBigUint64"); + readonly ToBoolean: typeof import("./2021/ToBoolean"); + readonly ToDateString: typeof import("./2021/ToDateString"); + readonly ToIndex: typeof import("./2021/ToIndex"); + readonly ToInt16: typeof import("./2021/ToInt16"); + readonly ToInt32: typeof import("./2021/ToInt32"); + readonly ToInt8: typeof import("./2021/ToInt8"); + readonly ToIntegerOrInfinity: typeof import("./2021/ToIntegerOrInfinity"); + readonly ToLength: typeof import("./2021/ToLength"); + readonly ToNumber: typeof import("./2021/ToNumber"); + readonly ToNumeric: typeof import("./2021/ToNumeric"); + readonly ToObject: typeof import("./2021/ToObject"); + readonly ToPrimitive: typeof import("./2021/ToPrimitive"); + readonly ToPropertyDescriptor: typeof import("./2021/ToPropertyDescriptor"); + readonly ToPropertyKey: typeof import("./2021/ToPropertyKey"); + readonly ToString: typeof import("./2021/ToString"); + readonly ToUint16: typeof import("./2021/ToUint16"); + readonly ToUint32: typeof import("./2021/ToUint32"); + readonly ToUint8: typeof import("./2021/ToUint8"); + readonly ToUint8Clamp: typeof import("./2021/ToUint8Clamp"); + readonly TrimString: typeof import("./2021/TrimString"); + readonly Type: typeof import("./2021/Type"); + readonly ValidateAndApplyPropertyDescriptor: typeof import("./2021/ValidateAndApplyPropertyDescriptor"); + readonly WeekDay: typeof import("./2021/WeekDay"); + readonly YearFromTime: typeof import("./2021/YearFromTime"); +} + +declare namespace ES2021 { + // Re-export types from previous versions + // - ES2015: + type PropertyKey = ES2020.PropertyKey; + + // - ES5: + type GenericDescriptor = ES2020.GenericDescriptor; + type AccessorDescriptor = ES2020.AccessorDescriptor; + type DataDescriptor = ES2020.DataDescriptor; + type PropertyDescriptor = ES2020.PropertyDescriptor; +} + +declare const ES2021: ES2021; +export = ES2021; diff --git a/types/es-abstract/es2022.d.ts b/types/es-abstract/es2022.d.ts new file mode 100644 index 00000000000000..e457e1f4c2309d --- /dev/null +++ b/types/es-abstract/es2022.d.ts @@ -0,0 +1,163 @@ +import ES2021 = require("./es2021"); + +interface ES2022 { + readonly AddEntriesFromIterable: typeof import("./2022/AddEntriesFromIterable"); + readonly AdvanceStringIndex: typeof import("./2022/AdvanceStringIndex"); + readonly ArrayCreate: typeof import("./2022/ArrayCreate"); + readonly ArraySetLength: typeof import("./2022/ArraySetLength"); + readonly ArraySpeciesCreate: typeof import("./2022/ArraySpeciesCreate"); + readonly BigIntBitwiseOp: typeof import("./2022/BigIntBitwiseOp"); + readonly BinaryAnd: typeof import("./2022/BinaryAnd"); + readonly BinaryOr: typeof import("./2022/BinaryOr"); + readonly BinaryXor: typeof import("./2022/BinaryXor"); + readonly Call: typeof import("./2022/Call"); + readonly CanonicalNumericIndexString: typeof import("./2022/CanonicalNumericIndexString"); + readonly clamp: typeof import("./2022/clamp"); + readonly CodePointAt: typeof import("./2022/CodePointAt"); + readonly CodePointsToString: typeof import("./2022/CodePointsToString"); + readonly CompletePropertyDescriptor: typeof import("./2022/CompletePropertyDescriptor"); + readonly CopyDataProperties: typeof import("./2022/CopyDataProperties"); + readonly CreateDataProperty: typeof import("./2022/CreateDataProperty"); + readonly CreateDataPropertyOrThrow: typeof import("./2022/CreateDataPropertyOrThrow"); + readonly CreateHTML: typeof import("./2022/CreateHTML"); + readonly CreateIterResultObject: typeof import("./2022/CreateIterResultObject"); + readonly CreateListFromArrayLike: typeof import("./2022/CreateListFromArrayLike"); + readonly CreateMethodProperty: typeof import("./2022/CreateMethodProperty"); + readonly CreateNonEnumerableDataPropertyOrThrow: typeof import("./2022/CreateNonEnumerableDataPropertyOrThrow"); + readonly CreateRegExpStringIterator: typeof import("./2022/CreateRegExpStringIterator"); + readonly DateFromTime: typeof import("./2022/DateFromTime"); + readonly DateString: typeof import("./2022/DateString"); + readonly Day: typeof import("./2022/Day"); + readonly DayFromYear: typeof import("./2022/DayFromYear"); + readonly DaysInYear: typeof import("./2022/DaysInYear"); + readonly DayWithinYear: typeof import("./2022/DayWithinYear"); + readonly DefineMethodProperty: typeof import("./2022/DefineMethodProperty"); + readonly DefinePropertyOrThrow: typeof import("./2022/DefinePropertyOrThrow"); + readonly DeletePropertyOrThrow: typeof import("./2022/DeletePropertyOrThrow"); + readonly EnumerableOwnPropertyNames: typeof import("./2022/EnumerableOwnPropertyNames"); + readonly FlattenIntoArray: typeof import("./2022/FlattenIntoArray"); + readonly FromPropertyDescriptor: typeof import("./2022/FromPropertyDescriptor"); + readonly Get: typeof import("./2022/Get"); + readonly GetIterator: typeof import("./2022/GetIterator"); + readonly GetMethod: typeof import("./2022/GetMethod"); + readonly GetOwnPropertyKeys: typeof import("./2022/GetOwnPropertyKeys"); + readonly GetPrototypeFromConstructor: typeof import("./2022/GetPrototypeFromConstructor"); + readonly GetSubstitution: typeof import("./2022/GetSubstitution"); + readonly GetV: typeof import("./2022/GetV"); + readonly HasOwnProperty: typeof import("./2022/HasOwnProperty"); + readonly HasProperty: typeof import("./2022/HasProperty"); + readonly HourFromTime: typeof import("./2022/HourFromTime"); + readonly InLeapYear: typeof import("./2022/InLeapYear"); + readonly InstanceofOperator: typeof import("./2022/InstanceofOperator"); + readonly Invoke: typeof import("./2022/Invoke"); + readonly IsAccessorDescriptor: typeof import("./2022/IsAccessorDescriptor"); + readonly IsArray: typeof import("./2022/IsArray"); + readonly IsCallable: typeof import("./2022/IsCallable"); + readonly IsConcatSpreadable: typeof import("./2022/IsConcatSpreadable"); + readonly IsConstructor: typeof import("./2022/IsConstructor"); + readonly IsDataDescriptor: typeof import("./2022/IsDataDescriptor"); + readonly IsExtensible: typeof import("./2022/IsExtensible"); + readonly IsGenericDescriptor: typeof import("./2022/IsGenericDescriptor"); + readonly IsIntegralNumber: typeof import("./2022/IsIntegralNumber"); + readonly IsLessThan: typeof import("./2022/IsLessThan"); + readonly IsLooselyEqual: typeof import("./2022/IsLooselyEqual"); + readonly IsPromise: typeof import("./2022/IsPromise"); + readonly IsPropertyKey: typeof import("./2022/IsPropertyKey"); + readonly IsRegExp: typeof import("./2022/IsRegExp"); + readonly IsStrictlyEqual: typeof import("./2022/IsStrictlyEqual"); + readonly IsStringPrefix: typeof import("./2022/IsStringPrefix"); + readonly IterableToList: typeof import("./2022/IterableToList"); + readonly IteratorClose: typeof import("./2022/IteratorClose"); + readonly IteratorComplete: typeof import("./2022/IteratorComplete"); + readonly IteratorNext: typeof import("./2022/IteratorNext"); + readonly IteratorStep: typeof import("./2022/IteratorStep"); + readonly IteratorValue: typeof import("./2022/IteratorValue"); + readonly LengthOfArrayLike: typeof import("./2022/LengthOfArrayLike"); + readonly MakeDate: typeof import("./2022/MakeDate"); + readonly MakeDay: typeof import("./2022/MakeDay"); + readonly MakeTime: typeof import("./2022/MakeTime"); + readonly MinFromTime: typeof import("./2022/MinFromTime"); + readonly modulo: typeof import("./2022/modulo"); + readonly MonthFromTime: typeof import("./2022/MonthFromTime"); + readonly msFromTime: typeof import("./2022/msFromTime"); + readonly NumberBitwiseOp: typeof import("./2022/NumberBitwiseOp"); + readonly NumberToBigInt: typeof import("./2022/NumberToBigInt"); + readonly OrdinaryDefineOwnProperty: typeof import("./2022/OrdinaryDefineOwnProperty"); + readonly OrdinaryGetOwnProperty: typeof import("./2022/OrdinaryGetOwnProperty"); + readonly OrdinaryGetPrototypeOf: typeof import("./2022/OrdinaryGetPrototypeOf"); + readonly OrdinaryHasInstance: typeof import("./2022/OrdinaryHasInstance"); + readonly OrdinaryHasProperty: typeof import("./2022/OrdinaryHasProperty"); + readonly OrdinaryObjectCreate: typeof import("./2022/OrdinaryObjectCreate"); + readonly OrdinarySetPrototypeOf: typeof import("./2022/OrdinarySetPrototypeOf"); + readonly PromiseResolve: typeof import("./2022/PromiseResolve"); + readonly RegExpExec: typeof import("./2022/RegExpExec"); + readonly RequireObjectCoercible: typeof import("./2022/RequireObjectCoercible"); + readonly SameValue: typeof import("./2022/SameValue"); + readonly SameValueNonNumeric: typeof import("./2022/SameValueNonNumeric"); + readonly SameValueZero: typeof import("./2022/SameValueZero"); + readonly SecFromTime: typeof import("./2022/SecFromTime"); + readonly Set: typeof import("./2022/Set"); + readonly SetFunctionName: typeof import("./2022/SetFunctionName"); + readonly SetIntegrityLevel: typeof import("./2022/SetIntegrityLevel"); + readonly SpeciesConstructor: typeof import("./2022/SpeciesConstructor"); + readonly StringIndexOf: typeof import("./2022/StringIndexOf"); + readonly StringPad: typeof import("./2022/StringPad"); + readonly StringToBigInt: typeof import("./2022/StringToBigInt"); + readonly StringToCodePoints: typeof import("./2022/StringToCodePoints"); + readonly StringToNumber: typeof import("./2022/StringToNumber"); + readonly substring: typeof import("./2022/substring"); + readonly SymbolDescriptiveString: typeof import("./2022/SymbolDescriptiveString"); + readonly TestIntegrityLevel: typeof import("./2022/TestIntegrityLevel"); + readonly thisBigIntValue: typeof import("./2022/thisBigIntValue"); + readonly thisBooleanValue: typeof import("./2022/thisBooleanValue"); + readonly thisNumberValue: typeof import("./2022/thisNumberValue"); + readonly thisStringValue: typeof import("./2022/thisStringValue"); + readonly thisSymbolValue: typeof import("./2022/thisSymbolValue"); + readonly thisTimeValue: typeof import("./2022/thisTimeValue"); + readonly TimeClip: typeof import("./2022/TimeClip"); + readonly TimeFromYear: typeof import("./2022/TimeFromYear"); + readonly TimeString: typeof import("./2022/TimeString"); + readonly TimeWithinDay: typeof import("./2022/TimeWithinDay"); + readonly ToBigInt: typeof import("./2022/ToBigInt"); + readonly ToBigInt64: typeof import("./2022/ToBigInt64"); + readonly ToBigUint64: typeof import("./2022/ToBigUint64"); + readonly ToBoolean: typeof import("./2022/ToBoolean"); + readonly ToDateString: typeof import("./2022/ToDateString"); + readonly ToIndex: typeof import("./2022/ToIndex"); + readonly ToInt16: typeof import("./2022/ToInt16"); + readonly ToInt32: typeof import("./2022/ToInt32"); + readonly ToInt8: typeof import("./2022/ToInt8"); + readonly ToIntegerOrInfinity: typeof import("./2022/ToIntegerOrInfinity"); + readonly ToLength: typeof import("./2022/ToLength"); + readonly ToNumber: typeof import("./2022/ToNumber"); + readonly ToNumeric: typeof import("./2022/ToNumeric"); + readonly ToObject: typeof import("./2022/ToObject"); + readonly ToPrimitive: typeof import("./2022/ToPrimitive"); + readonly ToPropertyDescriptor: typeof import("./2022/ToPropertyDescriptor"); + readonly ToPropertyKey: typeof import("./2022/ToPropertyKey"); + readonly ToString: typeof import("./2022/ToString"); + readonly ToUint16: typeof import("./2022/ToUint16"); + readonly ToUint32: typeof import("./2022/ToUint32"); + readonly ToUint8: typeof import("./2022/ToUint8"); + readonly ToUint8Clamp: typeof import("./2022/ToUint8Clamp"); + readonly TrimString: typeof import("./2022/TrimString"); + readonly Type: typeof import("./2022/Type"); + readonly ValidateAndApplyPropertyDescriptor: typeof import("./2022/ValidateAndApplyPropertyDescriptor"); + readonly WeekDay: typeof import("./2022/WeekDay"); + readonly YearFromTime: typeof import("./2022/YearFromTime"); +} + +declare namespace ES2022 { + // Re-export types from previous versions + // - ES2015: + type PropertyKey = ES2021.PropertyKey; + + // - ES5: + type GenericDescriptor = ES2021.GenericDescriptor; + type AccessorDescriptor = ES2021.AccessorDescriptor; + type DataDescriptor = ES2021.DataDescriptor; + type PropertyDescriptor = ES2021.PropertyDescriptor; +} + +declare const ES2022: ES2022; +export = ES2022; diff --git a/types/es-abstract/es2023.d.ts b/types/es-abstract/es2023.d.ts new file mode 100644 index 00000000000000..49e4b24ce628ed --- /dev/null +++ b/types/es-abstract/es2023.d.ts @@ -0,0 +1,162 @@ +import ES2022 = require("./es2022"); + +interface ES2023 { + readonly AddEntriesFromIterable: typeof import("./2023/AddEntriesFromIterable"); + readonly AdvanceStringIndex: typeof import("./2023/AdvanceStringIndex"); + readonly ArrayCreate: typeof import("./2023/ArrayCreate"); + readonly ArraySetLength: typeof import("./2023/ArraySetLength"); + readonly ArraySpeciesCreate: typeof import("./2023/ArraySpeciesCreate"); + readonly BigIntBitwiseOp: typeof import("./2023/BigIntBitwiseOp"); + readonly BinaryAnd: typeof import("./2023/BinaryAnd"); + readonly BinaryOr: typeof import("./2023/BinaryOr"); + readonly BinaryXor: typeof import("./2023/BinaryXor"); + readonly Call: typeof import("./2023/Call"); + readonly CanBeHeldWeakly: typeof import("./2023/CanBeHeldWeakly"); + readonly CanonicalNumericIndexString: typeof import("./2023/CanonicalNumericIndexString"); + readonly clamp: typeof import("./2023/clamp"); + readonly CodePointAt: typeof import("./2023/CodePointAt"); + readonly CodePointsToString: typeof import("./2023/CodePointsToString"); + readonly CompletePropertyDescriptor: typeof import("./2023/CompletePropertyDescriptor"); + readonly CopyDataProperties: typeof import("./2023/CopyDataProperties"); + readonly CreateDataProperty: typeof import("./2023/CreateDataProperty"); + readonly CreateDataPropertyOrThrow: typeof import("./2023/CreateDataPropertyOrThrow"); + readonly CreateHTML: typeof import("./2023/CreateHTML"); + readonly CreateIterResultObject: typeof import("./2023/CreateIterResultObject"); + readonly CreateListFromArrayLike: typeof import("./2023/CreateListFromArrayLike"); + readonly CreateMethodProperty: typeof import("./2023/CreateMethodProperty"); + readonly CreateNonEnumerableDataPropertyOrThrow: typeof import("./2023/CreateNonEnumerableDataPropertyOrThrow"); + readonly CreateRegExpStringIterator: typeof import("./2023/CreateRegExpStringIterator"); + readonly DateFromTime: typeof import("./2023/DateFromTime"); + readonly DateString: typeof import("./2023/DateString"); + readonly Day: typeof import("./2023/Day"); + readonly DayFromYear: typeof import("./2023/DayFromYear"); + readonly DaysInYear: typeof import("./2023/DaysInYear"); + readonly DayWithinYear: typeof import("./2023/DayWithinYear"); + readonly DefineMethodProperty: typeof import("./2023/DefineMethodProperty"); + readonly DefinePropertyOrThrow: typeof import("./2023/DefinePropertyOrThrow"); + readonly DeletePropertyOrThrow: typeof import("./2023/DeletePropertyOrThrow"); + readonly FlattenIntoArray: typeof import("./2023/FlattenIntoArray"); + readonly FromPropertyDescriptor: typeof import("./2023/FromPropertyDescriptor"); + readonly Get: typeof import("./2023/Get"); + readonly GetIterator: typeof import("./2023/GetIterator"); + readonly GetMethod: typeof import("./2023/GetMethod"); + readonly GetOwnPropertyKeys: typeof import("./2023/GetOwnPropertyKeys"); + readonly GetPrototypeFromConstructor: typeof import("./2023/GetPrototypeFromConstructor"); + readonly GetSubstitution: typeof import("./2023/GetSubstitution"); + readonly GetV: typeof import("./2023/GetV"); + readonly HasOwnProperty: typeof import("./2023/HasOwnProperty"); + readonly HasProperty: typeof import("./2023/HasProperty"); + readonly HourFromTime: typeof import("./2023/HourFromTime"); + readonly InLeapYear: typeof import("./2023/InLeapYear"); + readonly InstanceofOperator: typeof import("./2023/InstanceofOperator"); + readonly Invoke: typeof import("./2023/Invoke"); + readonly IsAccessorDescriptor: typeof import("./2023/IsAccessorDescriptor"); + readonly IsArray: typeof import("./2023/IsArray"); + readonly IsCallable: typeof import("./2023/IsCallable"); + readonly IsConcatSpreadable: typeof import("./2023/IsConcatSpreadable"); + readonly IsConstructor: typeof import("./2023/IsConstructor"); + readonly IsDataDescriptor: typeof import("./2023/IsDataDescriptor"); + readonly IsExtensible: typeof import("./2023/IsExtensible"); + readonly IsGenericDescriptor: typeof import("./2023/IsGenericDescriptor"); + readonly IsIntegralNumber: typeof import("./2023/IsIntegralNumber"); + readonly IsLessThan: typeof import("./2023/IsLessThan"); + readonly IsLooselyEqual: typeof import("./2023/IsLooselyEqual"); + readonly IsPromise: typeof import("./2023/IsPromise"); + readonly IsPropertyKey: typeof import("./2023/IsPropertyKey"); + readonly IsRegExp: typeof import("./2023/IsRegExp"); + readonly IsStrictlyEqual: typeof import("./2023/IsStrictlyEqual"); + readonly IteratorClose: typeof import("./2023/IteratorClose"); + readonly IteratorComplete: typeof import("./2023/IteratorComplete"); + readonly IteratorNext: typeof import("./2023/IteratorNext"); + readonly IteratorStep: typeof import("./2023/IteratorStep"); + readonly IteratorValue: typeof import("./2023/IteratorValue"); + readonly LengthOfArrayLike: typeof import("./2023/LengthOfArrayLike"); + readonly MakeDate: typeof import("./2023/MakeDate"); + readonly MakeDay: typeof import("./2023/MakeDay"); + readonly MakeTime: typeof import("./2023/MakeTime"); + readonly MinFromTime: typeof import("./2023/MinFromTime"); + readonly modulo: typeof import("./2023/modulo"); + readonly MonthFromTime: typeof import("./2023/MonthFromTime"); + readonly msFromTime: typeof import("./2023/msFromTime"); + readonly NumberBitwiseOp: typeof import("./2023/NumberBitwiseOp"); + readonly NumberToBigInt: typeof import("./2023/NumberToBigInt"); + readonly OrdinaryDefineOwnProperty: typeof import("./2023/OrdinaryDefineOwnProperty"); + readonly OrdinaryGetOwnProperty: typeof import("./2023/OrdinaryGetOwnProperty"); + readonly OrdinaryGetPrototypeOf: typeof import("./2023/OrdinaryGetPrototypeOf"); + readonly OrdinaryHasInstance: typeof import("./2023/OrdinaryHasInstance"); + readonly OrdinaryHasProperty: typeof import("./2023/OrdinaryHasProperty"); + readonly OrdinaryObjectCreate: typeof import("./2023/OrdinaryObjectCreate"); + readonly OrdinarySetPrototypeOf: typeof import("./2023/OrdinarySetPrototypeOf"); + readonly PromiseResolve: typeof import("./2023/PromiseResolve"); + readonly RegExpExec: typeof import("./2023/RegExpExec"); + readonly RequireObjectCoercible: typeof import("./2023/RequireObjectCoercible"); + readonly SameValue: typeof import("./2023/SameValue"); + readonly SameValueNonNumber: typeof import("./2023/SameValueNonNumber"); + readonly SameValueZero: typeof import("./2023/SameValueZero"); + readonly SecFromTime: typeof import("./2023/SecFromTime"); + readonly Set: typeof import("./2023/Set"); + readonly SetFunctionName: typeof import("./2023/SetFunctionName"); + readonly SetIntegrityLevel: typeof import("./2023/SetIntegrityLevel"); + readonly SpeciesConstructor: typeof import("./2023/SpeciesConstructor"); + readonly StringIndexOf: typeof import("./2023/StringIndexOf"); + readonly StringPad: typeof import("./2023/StringPad"); + readonly StringToBigInt: typeof import("./2023/StringToBigInt"); + readonly StringToCodePoints: typeof import("./2023/StringToCodePoints"); + readonly StringToNumber: typeof import("./2023/StringToNumber"); + readonly substring: typeof import("./2023/substring"); + readonly SymbolDescriptiveString: typeof import("./2023/SymbolDescriptiveString"); + readonly TestIntegrityLevel: typeof import("./2023/TestIntegrityLevel"); + readonly thisBigIntValue: typeof import("./2023/thisBigIntValue"); + readonly thisBooleanValue: typeof import("./2023/thisBooleanValue"); + readonly thisNumberValue: typeof import("./2023/thisNumberValue"); + readonly thisStringValue: typeof import("./2023/thisStringValue"); + readonly thisSymbolValue: typeof import("./2023/thisSymbolValue"); + readonly thisTimeValue: typeof import("./2023/thisTimeValue"); + readonly TimeClip: typeof import("./2023/TimeClip"); + readonly TimeFromYear: typeof import("./2023/TimeFromYear"); + readonly TimeString: typeof import("./2023/TimeString"); + readonly TimeWithinDay: typeof import("./2023/TimeWithinDay"); + readonly ToBigInt: typeof import("./2023/ToBigInt"); + readonly ToBigInt64: typeof import("./2023/ToBigInt64"); + readonly ToBigUint64: typeof import("./2023/ToBigUint64"); + readonly ToBoolean: typeof import("./2023/ToBoolean"); + readonly ToDateString: typeof import("./2023/ToDateString"); + readonly ToIndex: typeof import("./2023/ToIndex"); + readonly ToInt16: typeof import("./2023/ToInt16"); + readonly ToInt32: typeof import("./2023/ToInt32"); + readonly ToInt8: typeof import("./2023/ToInt8"); + readonly ToIntegerOrInfinity: typeof import("./2023/ToIntegerOrInfinity"); + readonly ToLength: typeof import("./2023/ToLength"); + readonly ToNumber: typeof import("./2023/ToNumber"); + readonly ToNumeric: typeof import("./2023/ToNumeric"); + readonly ToObject: typeof import("./2023/ToObject"); + readonly ToPrimitive: typeof import("./2023/ToPrimitive"); + readonly ToPropertyDescriptor: typeof import("./2023/ToPropertyDescriptor"); + readonly ToPropertyKey: typeof import("./2023/ToPropertyKey"); + readonly ToString: typeof import("./2023/ToString"); + readonly ToUint16: typeof import("./2023/ToUint16"); + readonly ToUint32: typeof import("./2023/ToUint32"); + readonly ToUint8: typeof import("./2023/ToUint8"); + readonly ToUint8Clamp: typeof import("./2023/ToUint8Clamp"); + readonly TrimString: typeof import("./2023/TrimString"); + readonly truncate: typeof import("./2023/truncate"); + readonly Type: typeof import("./2023/Type"); + readonly ValidateAndApplyPropertyDescriptor: typeof import("./2023/ValidateAndApplyPropertyDescriptor"); + readonly WeekDay: typeof import("./2023/WeekDay"); + readonly YearFromTime: typeof import("./2023/YearFromTime"); +} + +declare namespace ES2023 { + // Re-export types from previous versions + // - ES2015: + type PropertyKey = ES2022.PropertyKey; + + // - ES5: + type GenericDescriptor = ES2022.GenericDescriptor; + type AccessorDescriptor = ES2022.AccessorDescriptor; + type DataDescriptor = ES2022.DataDescriptor; + type PropertyDescriptor = ES2022.PropertyDescriptor; +} + +declare const ES2023: ES2023; +export = ES2023; diff --git a/types/es-abstract/es2024.d.ts b/types/es-abstract/es2024.d.ts new file mode 100644 index 00000000000000..0518922bc43a1f --- /dev/null +++ b/types/es-abstract/es2024.d.ts @@ -0,0 +1,155 @@ +import ES2023 = require("./es2023"); + +interface ES2024 { + readonly AddEntriesFromIterable: typeof import("./2024/AddEntriesFromIterable"); + readonly AdvanceStringIndex: typeof import("./2024/AdvanceStringIndex"); + readonly ArrayCreate: typeof import("./2024/ArrayCreate"); + readonly ArraySetLength: typeof import("./2024/ArraySetLength"); + readonly ArraySpeciesCreate: typeof import("./2024/ArraySpeciesCreate"); + readonly BigIntBitwiseOp: typeof import("./2024/BigIntBitwiseOp"); + readonly BinaryAnd: typeof import("./2024/BinaryAnd"); + readonly BinaryOr: typeof import("./2024/BinaryOr"); + readonly BinaryXor: typeof import("./2024/BinaryXor"); + readonly Call: typeof import("./2024/Call"); + readonly CanBeHeldWeakly: typeof import("./2024/CanBeHeldWeakly"); + readonly CanonicalNumericIndexString: typeof import("./2024/CanonicalNumericIndexString"); + readonly clamp: typeof import("./2024/clamp"); + readonly CodePointAt: typeof import("./2024/CodePointAt"); + readonly CodePointsToString: typeof import("./2024/CodePointsToString"); + readonly CompletePropertyDescriptor: typeof import("./2024/CompletePropertyDescriptor"); + readonly CopyDataProperties: typeof import("./2024/CopyDataProperties"); + readonly CreateDataProperty: typeof import("./2024/CreateDataProperty"); + readonly CreateDataPropertyOrThrow: typeof import("./2024/CreateDataPropertyOrThrow"); + readonly CreateHTML: typeof import("./2024/CreateHTML"); + readonly CreateIterResultObject: typeof import("./2024/CreateIterResultObject"); + readonly CreateListFromArrayLike: typeof import("./2024/CreateListFromArrayLike"); + readonly CreateNonEnumerableDataPropertyOrThrow: typeof import("./2024/CreateNonEnumerableDataPropertyOrThrow"); + readonly CreateRegExpStringIterator: typeof import("./2024/CreateRegExpStringIterator"); + readonly DateFromTime: typeof import("./2024/DateFromTime"); + readonly DateString: typeof import("./2024/DateString"); + readonly Day: typeof import("./2024/Day"); + readonly DayFromYear: typeof import("./2024/DayFromYear"); + readonly DaysInYear: typeof import("./2024/DaysInYear"); + readonly DayWithinYear: typeof import("./2024/DayWithinYear"); + readonly DefineMethodProperty: typeof import("./2024/DefineMethodProperty"); + readonly DefinePropertyOrThrow: typeof import("./2024/DefinePropertyOrThrow"); + readonly DeletePropertyOrThrow: typeof import("./2024/DeletePropertyOrThrow"); + readonly FlattenIntoArray: typeof import("./2024/FlattenIntoArray"); + readonly FromPropertyDescriptor: typeof import("./2024/FromPropertyDescriptor"); + readonly Get: typeof import("./2024/Get"); + readonly GetIterator: typeof import("./2024/GetIterator"); + readonly GetMethod: typeof import("./2024/GetMethod"); + readonly GetOwnPropertyKeys: typeof import("./2024/GetOwnPropertyKeys"); + readonly GetPrototypeFromConstructor: typeof import("./2024/GetPrototypeFromConstructor"); + readonly GetSubstitution: typeof import("./2024/GetSubstitution"); + readonly GetV: typeof import("./2024/GetV"); + readonly HasOwnProperty: typeof import("./2024/HasOwnProperty"); + readonly HasProperty: typeof import("./2024/HasProperty"); + readonly HourFromTime: typeof import("./2024/HourFromTime"); + readonly InLeapYear: typeof import("./2024/InLeapYear"); + readonly InstanceofOperator: typeof import("./2024/InstanceofOperator"); + readonly Invoke: typeof import("./2024/Invoke"); + readonly IsAccessorDescriptor: typeof import("./2024/IsAccessorDescriptor"); + readonly IsArray: typeof import("./2024/IsArray"); + readonly IsCallable: typeof import("./2024/IsCallable"); + readonly IsConcatSpreadable: typeof import("./2024/IsConcatSpreadable"); + readonly IsConstructor: typeof import("./2024/IsConstructor"); + readonly IsDataDescriptor: typeof import("./2024/IsDataDescriptor"); + readonly IsExtensible: typeof import("./2024/IsExtensible"); + readonly IsGenericDescriptor: typeof import("./2024/IsGenericDescriptor"); + readonly IsIntegralNumber: typeof import("./2024/IsIntegralNumber"); + readonly IsLessThan: typeof import("./2024/IsLessThan"); + readonly IsLooselyEqual: typeof import("./2024/IsLooselyEqual"); + readonly IsPromise: typeof import("./2024/IsPromise"); + readonly IsPropertyKey: typeof import("./2024/IsPropertyKey"); + readonly IsRegExp: typeof import("./2024/IsRegExp"); + readonly IsStrictlyEqual: typeof import("./2024/IsStrictlyEqual"); + readonly IteratorClose: typeof import("./2024/IteratorClose"); + readonly IteratorComplete: typeof import("./2024/IteratorComplete"); + readonly IteratorNext: typeof import("./2024/IteratorNext"); + readonly IteratorStep: typeof import("./2024/IteratorStep"); + readonly IteratorValue: typeof import("./2024/IteratorValue"); + readonly LengthOfArrayLike: typeof import("./2024/LengthOfArrayLike"); + readonly MakeDate: typeof import("./2024/MakeDate"); + readonly MakeDay: typeof import("./2024/MakeDay"); + readonly MakeTime: typeof import("./2024/MakeTime"); + readonly MinFromTime: typeof import("./2024/MinFromTime"); + readonly modulo: typeof import("./2024/modulo"); + readonly MonthFromTime: typeof import("./2024/MonthFromTime"); + readonly msFromTime: typeof import("./2024/msFromTime"); + readonly NumberBitwiseOp: typeof import("./2024/NumberBitwiseOp"); + readonly NumberToBigInt: typeof import("./2024/NumberToBigInt"); + readonly OrdinaryDefineOwnProperty: typeof import("./2024/OrdinaryDefineOwnProperty"); + readonly OrdinaryGetOwnProperty: typeof import("./2024/OrdinaryGetOwnProperty"); + readonly OrdinaryGetPrototypeOf: typeof import("./2024/OrdinaryGetPrototypeOf"); + readonly OrdinaryHasInstance: typeof import("./2024/OrdinaryHasInstance"); + readonly OrdinaryHasProperty: typeof import("./2024/OrdinaryHasProperty"); + readonly OrdinaryObjectCreate: typeof import("./2024/OrdinaryObjectCreate"); + readonly OrdinarySetPrototypeOf: typeof import("./2024/OrdinarySetPrototypeOf"); + readonly PromiseResolve: typeof import("./2024/PromiseResolve"); + readonly RegExpExec: typeof import("./2024/RegExpExec"); + readonly RequireObjectCoercible: typeof import("./2024/RequireObjectCoercible"); + readonly SameValue: typeof import("./2024/SameValue"); + readonly SameValueNonNumber: typeof import("./2024/SameValueNonNumber"); + readonly SameValueZero: typeof import("./2024/SameValueZero"); + readonly SecFromTime: typeof import("./2024/SecFromTime"); + readonly Set: typeof import("./2024/Set"); + readonly SetFunctionName: typeof import("./2024/SetFunctionName"); + readonly SetIntegrityLevel: typeof import("./2024/SetIntegrityLevel"); + readonly SpeciesConstructor: typeof import("./2024/SpeciesConstructor"); + readonly StringIndexOf: typeof import("./2024/StringIndexOf"); + readonly StringPad: typeof import("./2024/StringPad"); + readonly StringToBigInt: typeof import("./2024/StringToBigInt"); + readonly StringToCodePoints: typeof import("./2024/StringToCodePoints"); + readonly StringToNumber: typeof import("./2024/StringToNumber"); + readonly substring: typeof import("./2024/substring"); + readonly SymbolDescriptiveString: typeof import("./2024/SymbolDescriptiveString"); + readonly TestIntegrityLevel: typeof import("./2024/TestIntegrityLevel"); + readonly TimeClip: typeof import("./2024/TimeClip"); + readonly TimeFromYear: typeof import("./2024/TimeFromYear"); + readonly TimeString: typeof import("./2024/TimeString"); + readonly TimeWithinDay: typeof import("./2024/TimeWithinDay"); + readonly ToBigInt: typeof import("./2024/ToBigInt"); + readonly ToBigInt64: typeof import("./2024/ToBigInt64"); + readonly ToBigUint64: typeof import("./2024/ToBigUint64"); + readonly ToBoolean: typeof import("./2024/ToBoolean"); + readonly ToDateString: typeof import("./2024/ToDateString"); + readonly ToIndex: typeof import("./2024/ToIndex"); + readonly ToInt16: typeof import("./2024/ToInt16"); + readonly ToInt32: typeof import("./2024/ToInt32"); + readonly ToInt8: typeof import("./2024/ToInt8"); + readonly ToIntegerOrInfinity: typeof import("./2024/ToIntegerOrInfinity"); + readonly ToLength: typeof import("./2024/ToLength"); + readonly ToNumber: typeof import("./2024/ToNumber"); + readonly ToNumeric: typeof import("./2024/ToNumeric"); + readonly ToObject: typeof import("./2024/ToObject"); + readonly ToPrimitive: typeof import("./2024/ToPrimitive"); + readonly ToPropertyDescriptor: typeof import("./2024/ToPropertyDescriptor"); + readonly ToPropertyKey: typeof import("./2024/ToPropertyKey"); + readonly ToString: typeof import("./2024/ToString"); + readonly ToUint16: typeof import("./2024/ToUint16"); + readonly ToUint32: typeof import("./2024/ToUint32"); + readonly ToUint8: typeof import("./2024/ToUint8"); + readonly ToUint8Clamp: typeof import("./2024/ToUint8Clamp"); + readonly TrimString: typeof import("./2024/TrimString"); + readonly truncate: typeof import("./2024/truncate"); + readonly Type: typeof import("./2024/Type"); + readonly ValidateAndApplyPropertyDescriptor: typeof import("./2024/ValidateAndApplyPropertyDescriptor"); + readonly WeekDay: typeof import("./2024/WeekDay"); + readonly YearFromTime: typeof import("./2024/YearFromTime"); +} + +declare namespace ES2024 { + // Re-export types from previous versions + // - ES2015: + type PropertyKey = ES2023.PropertyKey; + + // - ES5: + type GenericDescriptor = ES2023.GenericDescriptor; + type AccessorDescriptor = ES2023.AccessorDescriptor; + type DataDescriptor = ES2023.DataDescriptor; + type PropertyDescriptor = ES2023.PropertyDescriptor; +} + +declare const ES2024: ES2024; +export = ES2024; diff --git a/types/es-abstract/es2025.d.ts b/types/es-abstract/es2025.d.ts new file mode 100644 index 00000000000000..d5e9e94b0574ee --- /dev/null +++ b/types/es-abstract/es2025.d.ts @@ -0,0 +1,158 @@ +import ES2024 = require("./es2024"); + +interface ES2025 { + readonly AddEntriesFromIterable: typeof import("./2025/AddEntriesFromIterable"); + readonly AdvanceStringIndex: typeof import("./2025/AdvanceStringIndex"); + readonly ArrayCreate: typeof import("./2025/ArrayCreate"); + readonly ArraySetLength: typeof import("./2025/ArraySetLength"); + readonly ArraySpeciesCreate: typeof import("./2025/ArraySpeciesCreate"); + readonly BigIntBitwiseOp: typeof import("./2025/BigIntBitwiseOp"); + readonly BinaryAnd: typeof import("./2025/BinaryAnd"); + readonly BinaryOr: typeof import("./2025/BinaryOr"); + readonly BinaryXor: typeof import("./2025/BinaryXor"); + readonly Call: typeof import("./2025/Call"); + readonly CanBeHeldWeakly: typeof import("./2025/CanBeHeldWeakly"); + readonly CanonicalNumericIndexString: typeof import("./2025/CanonicalNumericIndexString"); + readonly clamp: typeof import("./2025/clamp"); + readonly CodePointAt: typeof import("./2025/CodePointAt"); + readonly CodePointsToString: typeof import("./2025/CodePointsToString"); + readonly CompletePropertyDescriptor: typeof import("./2025/CompletePropertyDescriptor"); + readonly CopyDataProperties: typeof import("./2025/CopyDataProperties"); + readonly CreateDataProperty: typeof import("./2025/CreateDataProperty"); + readonly CreateDataPropertyOrThrow: typeof import("./2025/CreateDataPropertyOrThrow"); + readonly CreateHTML: typeof import("./2025/CreateHTML"); + readonly CreateIteratorResultObject: typeof import("./2025/CreateIteratorResultObject"); + readonly CreateListFromArrayLike: typeof import("./2025/CreateListFromArrayLike"); + readonly CreateNonEnumerableDataPropertyOrThrow: typeof import("./2025/CreateNonEnumerableDataPropertyOrThrow"); + readonly CreateRegExpStringIterator: typeof import("./2025/CreateRegExpStringIterator"); + readonly DateFromTime: typeof import("./2025/DateFromTime"); + readonly DateString: typeof import("./2025/DateString"); + readonly Day: typeof import("./2025/Day"); + readonly DayFromYear: typeof import("./2025/DayFromYear"); + readonly DaysInYear: typeof import("./2025/DaysInYear"); + readonly DayWithinYear: typeof import("./2025/DayWithinYear"); + readonly DefineMethodProperty: typeof import("./2025/DefineMethodProperty"); + readonly DefinePropertyOrThrow: typeof import("./2025/DefinePropertyOrThrow"); + readonly DeletePropertyOrThrow: typeof import("./2025/DeletePropertyOrThrow"); + readonly FlattenIntoArray: typeof import("./2025/FlattenIntoArray"); + readonly FromPropertyDescriptor: typeof import("./2025/FromPropertyDescriptor"); + readonly Get: typeof import("./2025/Get"); + readonly GetIterator: typeof import("./2025/GetIterator"); + readonly GetMethod: typeof import("./2025/GetMethod"); + readonly GetOwnPropertyKeys: typeof import("./2025/GetOwnPropertyKeys"); + readonly GetPrototypeFromConstructor: typeof import("./2025/GetPrototypeFromConstructor"); + readonly GetSubstitution: typeof import("./2025/GetSubstitution"); + readonly GetV: typeof import("./2025/GetV"); + readonly HasOwnProperty: typeof import("./2025/HasOwnProperty"); + readonly HasProperty: typeof import("./2025/HasProperty"); + readonly HourFromTime: typeof import("./2025/HourFromTime"); + readonly InLeapYear: typeof import("./2025/InLeapYear"); + readonly InstanceofOperator: typeof import("./2025/InstanceofOperator"); + readonly Invoke: typeof import("./2025/Invoke"); + readonly IsAccessorDescriptor: typeof import("./2025/IsAccessorDescriptor"); + readonly IsArray: typeof import("./2025/IsArray"); + readonly IsCallable: typeof import("./2025/IsCallable"); + readonly IsConcatSpreadable: typeof import("./2025/IsConcatSpreadable"); + readonly IsConstructor: typeof import("./2025/IsConstructor"); + readonly IsDataDescriptor: typeof import("./2025/IsDataDescriptor"); + readonly IsExtensible: typeof import("./2025/IsExtensible"); + readonly IsGenericDescriptor: typeof import("./2025/IsGenericDescriptor"); + readonly IsLessThan: typeof import("./2025/IsLessThan"); + readonly IsLooselyEqual: typeof import("./2025/IsLooselyEqual"); + readonly IsPromise: typeof import("./2025/IsPromise"); + readonly IsRegExp: typeof import("./2025/IsRegExp"); + readonly IsStrictlyEqual: typeof import("./2025/IsStrictlyEqual"); + readonly IteratorClose: typeof import("./2025/IteratorClose"); + readonly IteratorComplete: typeof import("./2025/IteratorComplete"); + readonly IteratorNext: typeof import("./2025/IteratorNext"); + readonly IteratorStep: typeof import("./2025/IteratorStep"); + readonly IteratorValue: typeof import("./2025/IteratorValue"); + readonly LengthOfArrayLike: typeof import("./2025/LengthOfArrayLike"); + readonly MakeDate: typeof import("./2025/MakeDate"); + readonly MakeDay: typeof import("./2025/MakeDay"); + readonly MakeTime: typeof import("./2025/MakeTime"); + readonly MinFromTime: typeof import("./2025/MinFromTime"); + readonly modulo: typeof import("./2025/modulo"); + readonly MonthFromTime: typeof import("./2025/MonthFromTime"); + readonly msFromTime: typeof import("./2025/msFromTime"); + readonly NumberBitwiseOp: typeof import("./2025/NumberBitwiseOp"); + readonly NumberToBigInt: typeof import("./2025/NumberToBigInt"); + readonly OrdinaryDefineOwnProperty: typeof import("./2025/OrdinaryDefineOwnProperty"); + readonly OrdinaryGetOwnProperty: typeof import("./2025/OrdinaryGetOwnProperty"); + readonly OrdinaryGetPrototypeOf: typeof import("./2025/OrdinaryGetPrototypeOf"); + readonly OrdinaryHasInstance: typeof import("./2025/OrdinaryHasInstance"); + readonly OrdinaryHasProperty: typeof import("./2025/OrdinaryHasProperty"); + readonly OrdinaryObjectCreate: typeof import("./2025/OrdinaryObjectCreate"); + readonly OrdinarySetPrototypeOf: typeof import("./2025/OrdinarySetPrototypeOf"); + readonly PromiseResolve: typeof import("./2025/PromiseResolve"); + readonly RegExpExec: typeof import("./2025/RegExpExec"); + readonly RequireObjectCoercible: typeof import("./2025/RequireObjectCoercible"); + readonly SameValue: typeof import("./2025/SameValue"); + readonly SameValueNonNumber: typeof import("./2025/SameValueNonNumber"); + readonly SameValueZero: typeof import("./2025/SameValueZero"); + readonly SecFromTime: typeof import("./2025/SecFromTime"); + readonly Set: typeof import("./2025/Set"); + readonly SetFunctionName: typeof import("./2025/SetFunctionName"); + readonly SetIntegrityLevel: typeof import("./2025/SetIntegrityLevel"); + readonly SpeciesConstructor: typeof import("./2025/SpeciesConstructor"); + readonly StringIndexOf: typeof import("./2025/StringIndexOf"); + readonly StringPad: typeof import("./2025/StringPad"); + readonly StringToBigInt: typeof import("./2025/StringToBigInt"); + readonly StringToCodePoints: typeof import("./2025/StringToCodePoints"); + readonly StringToNumber: typeof import("./2025/StringToNumber"); + readonly substring: typeof import("./2025/substring"); + readonly SymbolDescriptiveString: typeof import("./2025/SymbolDescriptiveString"); + readonly TestIntegrityLevel: typeof import("./2025/TestIntegrityLevel"); + readonly TimeClip: typeof import("./2025/TimeClip"); + readonly TimeFromYear: typeof import("./2025/TimeFromYear"); + readonly TimeString: typeof import("./2025/TimeString"); + readonly TimeWithinDay: typeof import("./2025/TimeWithinDay"); + readonly ToBigInt: typeof import("./2025/ToBigInt"); + readonly ToBigInt64: typeof import("./2025/ToBigInt64"); + readonly ToBigUint64: typeof import("./2025/ToBigUint64"); + readonly ToBoolean: typeof import("./2025/ToBoolean"); + readonly ToDateString: typeof import("./2025/ToDateString"); + readonly ToIndex: typeof import("./2025/ToIndex"); + readonly ToInt16: typeof import("./2025/ToInt16"); + readonly ToInt32: typeof import("./2025/ToInt32"); + readonly ToInt8: typeof import("./2025/ToInt8"); + readonly ToIntegerOrInfinity: typeof import("./2025/ToIntegerOrInfinity"); + readonly ToLength: typeof import("./2025/ToLength"); + readonly ToNumber: typeof import("./2025/ToNumber"); + readonly ToNumeric: typeof import("./2025/ToNumeric"); + readonly ToObject: typeof import("./2025/ToObject"); + readonly ToPrimitive: typeof import("./2025/ToPrimitive"); + readonly ToPropertyDescriptor: typeof import("./2025/ToPropertyDescriptor"); + readonly ToPropertyKey: typeof import("./2025/ToPropertyKey"); + readonly ToString: typeof import("./2025/ToString"); + readonly ToUint16: typeof import("./2025/ToUint16"); + readonly ToUint32: typeof import("./2025/ToUint32"); + readonly ToUint8: typeof import("./2025/ToUint8"); + readonly ToUint8Clamp: typeof import("./2025/ToUint8Clamp"); + readonly TrimString: typeof import("./2025/TrimString"); + readonly truncate: typeof import("./2025/truncate"); + readonly ValidateAndApplyPropertyDescriptor: typeof import("./2025/ValidateAndApplyPropertyDescriptor"); + readonly WeekDay: typeof import("./2025/WeekDay"); + readonly YearFromTime: typeof import("./2025/YearFromTime"); +} + +declare namespace ES2025 { + // Re-export types from previous versions + // - ES2015: + type PropertyKey = ES2024.PropertyKey; + + // - ES5: + type GenericDescriptor = ES2024.GenericDescriptor; + type AccessorDescriptor = ES2024.AccessorDescriptor; + type DataDescriptor = ES2024.DataDescriptor; + type PropertyDescriptor = ES2024.PropertyDescriptor; + + // ES2025 types: + interface IteratorResultObject { + value: T; + done: boolean; + } +} + +declare const ES2025: ES2025; +export = ES2025; diff --git a/types/es-abstract/helpers/isPropertyKey.d.ts b/types/es-abstract/helpers/isPropertyKey.d.ts new file mode 100644 index 00000000000000..b0cd1e3ee7fa0a --- /dev/null +++ b/types/es-abstract/helpers/isPropertyKey.d.ts @@ -0,0 +1,4 @@ +import type { PropertyKey } from ".."; + +declare function isPropertyKey(argument: unknown): argument is PropertyKey; +export = isPropertyKey; diff --git a/types/es-abstract/helpers/isStringOrUndefined.d.ts b/types/es-abstract/helpers/isStringOrUndefined.d.ts new file mode 100644 index 00000000000000..cd3aa906c886ee --- /dev/null +++ b/types/es-abstract/helpers/isStringOrUndefined.d.ts @@ -0,0 +1,2 @@ +declare function isStringOrUndefined(item: unknown): item is string | undefined; +export = isStringOrUndefined; diff --git a/types/es-abstract/index.d.ts b/types/es-abstract/index.d.ts index 568105385a4290..59a059d5ac0df0 100644 --- a/types/es-abstract/index.d.ts +++ b/types/es-abstract/index.d.ts @@ -7,6 +7,12 @@ import ES2016 = require("./es2016"); import ES2017 = require("./es2017"); import ES2018 = require("./es2018"); import ES2019 = require("./es2019"); +import ES2020 = require("./es2020"); +import ES2021 = require("./es2021"); +import ES2022 = require("./es2022"); +import ES2023 = require("./es2023"); +import ES2024 = require("./es2024"); +import ES2025 = require("./es2025"); declare namespace ESAbstract { // ES2015 types: @@ -43,6 +49,12 @@ interface ESAbstract extends ES6 { readonly ES2017: ES2017; readonly ES2018: ES2018; readonly ES2019: ES2019; + readonly ES2020: ES2020; + readonly ES2021: ES2021; + readonly ES2022: ES2022; + readonly ES2023: ES2023; + readonly ES2024: ES2024; + readonly ES2025: ES2025; } declare const ESAbstract: ESAbstract; diff --git a/types/es-abstract/package.json b/types/es-abstract/package.json index 8c63378add6ba9..ccf9c8587eedd8 100644 --- a/types/es-abstract/package.json +++ b/types/es-abstract/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/es-abstract", - "version": "1.17.9999", + "version": "1.24.9999", "projects": [ "https://github.com/ljharb/es-abstract" ], diff --git a/types/es-abstract/test/es2020.test.ts b/types/es-abstract/test/es2020.test.ts new file mode 100644 index 00000000000000..ac9e250de076da --- /dev/null +++ b/types/es-abstract/test/es2020.test.ts @@ -0,0 +1,75 @@ +import ES2020 = require("es-abstract/es2020"); + +declare const any: unknown; + +// New operations in ES2020 + +// CodePointAt +ES2020.CodePointAt("abc", 0); // $ExpectType CodePointRecord + +// LengthOfArrayLike +ES2020.LengthOfArrayLike({ length: 5 }); // $ExpectType number + +// IsNonNegativeInteger +ES2020.IsNonNegativeInteger(5); // $ExpectType boolean + +// OrdinaryObjectCreate +ES2020.OrdinaryObjectCreate(null); // $ExpectType object +ES2020.OrdinaryObjectCreate({}); // $ExpectType {} +ES2020.OrdinaryObjectCreate({}, ["[[Slot]]"]); // $ExpectType {} + +// CreateRegExpStringIterator +ES2020.CreateRegExpStringIterator(/test/g, "test", true, false); // $ExpectType IterableIterator + +// SameValueNonNumeric +ES2020.SameValueNonNumeric("a", "b"); // $ExpectType boolean + +// BigIntBitwiseOp +ES2020.BigIntBitwiseOp("&", BigInt(1), BigInt(2)); // $ExpectType bigint +ES2020.BigIntBitwiseOp("|", BigInt(1), BigInt(2)); // $ExpectType bigint +ES2020.BigIntBitwiseOp("^", BigInt(1), BigInt(2)); // $ExpectType bigint + +// ToBigInt +ES2020.ToBigInt(any); // $ExpectType bigint + +// ToBigInt64 +ES2020.ToBigInt64(BigInt(1)); // $ExpectType bigint + +// ToBigUint64 +ES2020.ToBigUint64(BigInt(1)); // $ExpectType bigint + +// ToNumeric +ES2020.ToNumeric(any); // $ExpectType number | bigint + +// StringToBigInt +ES2020.StringToBigInt("123"); // $ExpectType bigint | number + +// NumberToBigInt +ES2020.NumberToBigInt(5); // $ExpectType bigint + +// thisBigIntValue +ES2020.thisBigIntValue(BigInt(1)); // $ExpectType bigint + +// StringPad +ES2020.StringPad("foo", 5, " ", "start"); // $ExpectType string +ES2020.StringPad("foo", 5, undefined, "end"); // $ExpectType string + +// NumberBitwiseOp +ES2020.NumberBitwiseOp("&", 1, 2); // $ExpectType number +ES2020.NumberBitwiseOp("|", 1, 2); // $ExpectType number +ES2020.NumberBitwiseOp("^", 1, 2); // $ExpectType number + +// BinaryAnd +ES2020.BinaryAnd(0, 1); // $ExpectType 0 | 1 + +// BinaryOr +ES2020.BinaryOr(0, 1); // $ExpectType 0 | 1 + +// BinaryXor +ES2020.BinaryXor(0, 1); // $ExpectType 0 | 1 + +// UTF16DecodeSurrogatePair +ES2020.UTF16DecodeSurrogatePair(0xD800, 0xDC00); // $ExpectType string + +// UTF16DecodeString +ES2020.UTF16DecodeString("abc"); // $ExpectType string[] diff --git a/types/es-abstract/test/es2021.test.ts b/types/es-abstract/test/es2021.test.ts new file mode 100644 index 00000000000000..38afd0d82735f0 --- /dev/null +++ b/types/es-abstract/test/es2021.test.ts @@ -0,0 +1,27 @@ +import ES2021 = require("es-abstract/es2021"); + +declare const any: unknown; + +// New operations in ES2021 + +// StringIndexOf +ES2021.StringIndexOf("hello", "l", 0); // $ExpectType number + +// ToIntegerOrInfinity +ES2021.ToIntegerOrInfinity(any); // $ExpectType number + +// substring +ES2021.substring("hello", 0, 3); // $ExpectType string +ES2021.substring("hello", 0); // $ExpectType string + +// IsIntegralNumber +ES2021.IsIntegralNumber(any); // $ExpectType boolean + +// clamp +ES2021.clamp(5, 0, 10); // $ExpectType number + +// CodePointsToString +ES2021.CodePointsToString(["a", "b", "c"]); // $ExpectType string + +// StringToCodePoints +ES2021.StringToCodePoints("abc"); // $ExpectType string[] diff --git a/types/es-abstract/test/es2022.test.ts b/types/es-abstract/test/es2022.test.ts new file mode 100644 index 00000000000000..f481dd5762a2e5 --- /dev/null +++ b/types/es-abstract/test/es2022.test.ts @@ -0,0 +1,23 @@ +import ES2022 = require("es-abstract/es2022"); + +declare const any: unknown; + +// New operations in ES2022 + +// DefineMethodProperty +ES2022.DefineMethodProperty({}, "foo", () => {}, false); // $ExpectType void + +// StringToNumber +ES2022.StringToNumber("123"); // $ExpectType number + +// IsLessThan +ES2022.IsLessThan(1, 2, true); // $ExpectType boolean | undefined + +// IsLooselyEqual +ES2022.IsLooselyEqual(any, any); // $ExpectType boolean + +// IsStrictlyEqual +ES2022.IsStrictlyEqual(any, any); // $ExpectType boolean + +// CreateNonEnumerableDataPropertyOrThrow +ES2022.CreateNonEnumerableDataPropertyOrThrow({}, "foo", "bar"); // $ExpectType void diff --git a/types/es-abstract/test/es2023.test.ts b/types/es-abstract/test/es2023.test.ts new file mode 100644 index 00000000000000..d89fe179fde76d --- /dev/null +++ b/types/es-abstract/test/es2023.test.ts @@ -0,0 +1,14 @@ +import ES2023 = require("es-abstract/es2023"); + +declare const any: unknown; + +// New operations in ES2023 + +// truncate +ES2023.truncate(5.5); // $ExpectType number + +// CanBeHeldWeakly +ES2023.CanBeHeldWeakly(any); // $ExpectType boolean + +// SameValueNonNumber +ES2023.SameValueNonNumber("a", "b"); // $ExpectType boolean diff --git a/types/es-abstract/test/es2024.test.ts b/types/es-abstract/test/es2024.test.ts new file mode 100644 index 00000000000000..07105ec1f1a917 --- /dev/null +++ b/types/es-abstract/test/es2024.test.ts @@ -0,0 +1,8 @@ +import ES2024 = require("es-abstract/es2024"); + +// ES2024 re-exports from ES2023 +// Test a few operations to ensure re-exports work + +ES2024.truncate(5.5); // $ExpectType number +ES2024.CanBeHeldWeakly({}); // $ExpectType boolean +ES2024.ToIntegerOrInfinity(5); // $ExpectType number diff --git a/types/es-abstract/test/es2025.test.ts b/types/es-abstract/test/es2025.test.ts new file mode 100644 index 00000000000000..f6c62ad84c6e59 --- /dev/null +++ b/types/es-abstract/test/es2025.test.ts @@ -0,0 +1,12 @@ +import ES2025 = require("es-abstract/es2025"); + +// New operations in ES2025 + +// CreateIteratorResultObject +ES2025.CreateIteratorResultObject("value", false); // $ExpectType IteratorResultObject +ES2025.CreateIteratorResultObject(42, true); // $ExpectType IteratorResultObject + +// Test a few re-exported operations to ensure they work +ES2025.truncate(5.5); // $ExpectType number +ES2025.ToIntegerOrInfinity(5); // $ExpectType number +ES2025.StringIndexOf("hello", "l", 0); // $ExpectType number diff --git a/types/es-abstract/test/helpers/isPropertyKey.test.ts b/types/es-abstract/test/helpers/isPropertyKey.test.ts new file mode 100644 index 00000000000000..392b96de2876db --- /dev/null +++ b/types/es-abstract/test/helpers/isPropertyKey.test.ts @@ -0,0 +1,9 @@ +import isPropertyKey = require("es-abstract/helpers/isPropertyKey"); + +declare const any: unknown; + +isPropertyKey(any); // $ExpectType boolean + +if (isPropertyKey(any)) { + any; // $ExpectType PropertyKey +} diff --git a/types/es-abstract/test/helpers/isStringOrUndefined.test.ts b/types/es-abstract/test/helpers/isStringOrUndefined.test.ts new file mode 100644 index 00000000000000..4882c2e0a26de7 --- /dev/null +++ b/types/es-abstract/test/helpers/isStringOrUndefined.test.ts @@ -0,0 +1,9 @@ +import isStringOrUndefined = require("es-abstract/helpers/isStringOrUndefined"); + +declare const any: unknown; + +isStringOrUndefined(any); // $ExpectType boolean + +if (isStringOrUndefined(any)) { + any; // $ExpectType string | undefined +} diff --git a/types/es-abstract/test/index.test.ts b/types/es-abstract/test/index.test.ts index 1b6d89df325a86..817bbe2ae486ae 100644 --- a/types/es-abstract/test/index.test.ts +++ b/types/es-abstract/test/index.test.ts @@ -9,6 +9,12 @@ import ES2016 = require("es-abstract/es2016"); import ES2017 = require("es-abstract/es2017"); import ES2018 = require("es-abstract/es2018"); import ES2019 = require("es-abstract/es2019"); +import ES2020 = require("es-abstract/es2020"); +import ES2021 = require("es-abstract/es2021"); +import ES2022 = require("es-abstract/es2022"); +import ES2023 = require("es-abstract/es2023"); +import ES2024 = require("es-abstract/es2024"); +import ES2025 = require("es-abstract/es2025"); /** * The `expectType` function from https://www.npmjs.com/package/tsd, @@ -34,6 +40,12 @@ expectType(ESAbstract.ES2016); // $ExpectType ES2016 expectType(ESAbstract.ES2017); // $ExpectType ES2017 expectType(ESAbstract.ES2018); // $ExpectType ES2018 expectType(ESAbstract.ES2019); // $ExpectType ES2019 +expectType(ESAbstract.ES2020); // $ExpectType ES2020 +expectType(ESAbstract.ES2021); // $ExpectType ES2021 +expectType(ESAbstract.ES2022); // $ExpectType ES2022 +expectType(ESAbstract.ES2023); // $ExpectType ES2023 +expectType(ESAbstract.ES2024); // $ExpectType ES2024 +expectType(ESAbstract.ES2025); // $ExpectType ES2025 // Removed in ES2015: // @ts-expect-error diff --git a/types/telegraph.md/.npmignore b/types/telegraph.md/.npmignore new file mode 100644 index 00000000000000..93e307400a5456 --- /dev/null +++ b/types/telegraph.md/.npmignore @@ -0,0 +1,5 @@ +* +!**/*.d.ts +!**/*.d.cts +!**/*.d.mts +!**/*.d.*.ts diff --git a/types/telegraph.md/index.d.ts b/types/telegraph.md/index.d.ts new file mode 100644 index 00000000000000..4f2b89564d309b --- /dev/null +++ b/types/telegraph.md/index.d.ts @@ -0,0 +1,3 @@ +declare function telegraphmd(markdown: string): unknown[]; + +export = telegraphmd diff --git a/types/telegraph.md/package.json b/types/telegraph.md/package.json new file mode 100644 index 00000000000000..97f54bce10242e --- /dev/null +++ b/types/telegraph.md/package.json @@ -0,0 +1,17 @@ +{ + "private": true, + "name": "@types/telegraph.md", + "version": "0.0.9999", + "projects": [ + "https://github.com/telegraf/telegraph.md" + ], + "devDependencies": { + "@types/telegraph.md": "workspace:." + }, + "owners": [ + { + "name": "Fırat Özden", + "githubUsername": "fir4tozden" + } + ] +} diff --git a/types/telegraph.md/telegraph.md-tests.ts b/types/telegraph.md/telegraph.md-tests.ts new file mode 100644 index 00000000000000..947e0dd9797d92 --- /dev/null +++ b/types/telegraph.md/telegraph.md-tests.ts @@ -0,0 +1,3 @@ +import telegraphmd from "telegraph.md"; + +telegraphmd('hi **everyone**!') diff --git a/types/telegraph.md/tsconfig.json b/types/telegraph.md/tsconfig.json new file mode 100644 index 00000000000000..85ad7c63b9a061 --- /dev/null +++ b/types/telegraph.md/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "node16", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "telegraph.md-tests.ts" + ] +} diff --git a/types/xmpp__base64/package.json b/types/xmpp__base64/package.json index 4c4bda04475540..8da29f3c718225 100644 --- a/types/xmpp__base64/package.json +++ b/types/xmpp__base64/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__base64", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/base64" ], diff --git a/types/xmpp__base64/tsconfig.json b/types/xmpp__base64/tsconfig.json index d8f6e8bb5f0b20..d3293422f2d01b 100644 --- a/types/xmpp__base64/tsconfig.json +++ b/types/xmpp__base64/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__client-core/index.d.ts b/types/xmpp__client-core/index.d.ts index 99ec7a9b5be169..742e41ef7e4b45 100644 --- a/types/xmpp__client-core/index.d.ts +++ b/types/xmpp__client-core/index.d.ts @@ -1,6 +1,6 @@ -import ClientCls = require("./lib/Client"); -import xmppXml = require("@xmpp/xml"); -import xmppJid = require("@xmpp/jid"); +import xmppJid from "@xmpp/jid"; +import xmppXml from "@xmpp/xml"; +import ClientCls from "./lib/Client.js"; export const Client: typeof ClientCls; export type Client = ClientCls; diff --git a/types/xmpp__client-core/lib/Client.d.ts b/types/xmpp__client-core/lib/Client.d.ts index 456743b6708f04..48d66297dd5ee1 100644 --- a/types/xmpp__client-core/lib/Client.d.ts +++ b/types/xmpp__client-core/lib/Client.d.ts @@ -1,7 +1,7 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; import { Element } from "@xmpp/xml"; -export = Client; +export default Client; declare class Client extends Connection { transports: Array; diff --git a/types/xmpp__client-core/package.json b/types/xmpp__client-core/package.json index 2ee46c70c26525..b6559a385dab05 100644 --- a/types/xmpp__client-core/package.json +++ b/types/xmpp__client-core/package.json @@ -1,13 +1,15 @@ { "private": true, "name": "@types/xmpp__client-core", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/client-core" ], "dependencies": { "@types/xmpp__connection": "*", "@types/xmpp__jid": "*", + "@types/xmpp__sasl2": "*", "@types/xmpp__xml": "*" }, "devDependencies": { diff --git a/types/xmpp__client-core/src/bind2/bind2.d.ts b/types/xmpp__client-core/src/bind2/bind2.d.ts new file mode 100644 index 00000000000000..8c1469868bc5a5 --- /dev/null +++ b/types/xmpp__client-core/src/bind2/bind2.d.ts @@ -0,0 +1,15 @@ +import { Entity } from "@xmpp/connection"; +import { SASL2 } from "@xmpp/sasl2"; +import { Element } from "@xmpp/xml"; + +export default function bind2( + params: { + sasl2: SASL2; + entity: Entity; + }, + tag: string | (() => Promise), +): Bind2; + +export interface Bind2 { + use(ns: string, req: (element: Element) => Element, res: (element: Element) => Promise): void; +} diff --git a/types/xmpp__client-core/src/fast/fast.d.ts b/types/xmpp__client-core/src/fast/fast.d.ts new file mode 100644 index 00000000000000..b7eb4be32955a5 --- /dev/null +++ b/types/xmpp__client-core/src/fast/fast.d.ts @@ -0,0 +1,28 @@ +import { EventEmitter } from "@xmpp/events"; +import { SASL2 } from "@xmpp/sasl2"; +import SASLFactory from "saslmechanisms"; + +import { Client } from "../.."; + +export interface Token { + mechanism: string; + token: string; + expiry: string; +} + +export interface FAST extends EventEmitter { + mechanism: null | string; + mechanisms: string[]; + + saveToken(t: Token): Promise; + fetchToken(): Promise; + deleteToken(): Promise; + + save(t: Token): Promise; + fetch(): Promise; + delete(): Promise; + + saslFactory: SASLFactory; +} + +export default function fast(options: { sasl2: SASL2; entity: Client }): FAST; diff --git a/types/xmpp__client-core/tsconfig.json b/types/xmpp__client-core/tsconfig.json index c09a9bf8bf871e..9de3e9d8ed0c16 100644 --- a/types/xmpp__client-core/tsconfig.json +++ b/types/xmpp__client-core/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__client-core/xmpp__client-core-tests.ts b/types/xmpp__client-core/xmpp__client-core-tests.ts index 7cecccedf0d3cd..8d5c24b8271712 100644 --- a/types/xmpp__client-core/xmpp__client-core-tests.ts +++ b/types/xmpp__client-core/xmpp__client-core-tests.ts @@ -1,5 +1,5 @@ import { Client, jid, xml } from "@xmpp/client-core"; -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; import { Element } from "@xmpp/xml"; // test type exports diff --git a/types/xmpp__client/browser.d.ts b/types/xmpp__client/browser.d.ts deleted file mode 100644 index 989ac9ab17a38e..00000000000000 --- a/types/xmpp__client/browser.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./react-native"; diff --git a/types/xmpp__client/dist/xmpp.d.ts b/types/xmpp__client/dist/xmpp.d.ts index 0790d3b24cbe8e..1789a8fa7e9191 100644 --- a/types/xmpp__client/dist/xmpp.d.ts +++ b/types/xmpp__client/dist/xmpp.d.ts @@ -1,3 +1,3 @@ -export * from "../browser"; +export * from ".."; export as namespace XMPP; diff --git a/types/xmpp__client/index.d.ts b/types/xmpp__client/index.d.ts index be081cedd75f52..f352ff48c3ca29 100644 --- a/types/xmpp__client/index.d.ts +++ b/types/xmpp__client/index.d.ts @@ -1,4 +1,6 @@ import { Client as ClientCore, jid as xmppJid, xml as xmppXml } from "@xmpp/client-core"; +import { Bind2 } from "@xmpp/client-core/src/bind2/bind2.js"; +import { FAST } from "@xmpp/client-core/src/fast/fast.js"; import { Options as ConnectionOptions } from "@xmpp/connection"; import { IQCallee } from "@xmpp/iq/callee"; import { IQCaller } from "@xmpp/iq/caller"; @@ -88,6 +90,8 @@ export interface Client extends ClientCore { sasl: SASL; streamManagement: StreamManagement; mechanisms: Array<{ scramsha1: undefined } | { plain: undefined } | { anonymous: undefined }>; + bind2: Bind2; + fast: FAST; } export const jid: typeof xmppJid; diff --git a/types/xmpp__client/lib/getDomain.d.ts b/types/xmpp__client/lib/getDomain.d.ts index 595d7fb0aab5a5..dc2795b98224f9 100644 --- a/types/xmpp__client/lib/getDomain.d.ts +++ b/types/xmpp__client/lib/getDomain.d.ts @@ -1,3 +1,3 @@ -export = getDomain; +export default getDomain; declare function getDomain(service: string): string; diff --git a/types/xmpp__client/package.json b/types/xmpp__client/package.json index 61f4b92dd4fb64..6a4501f69a12f8 100644 --- a/types/xmpp__client/package.json +++ b/types/xmpp__client/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__client", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/client" ], diff --git a/types/xmpp__client/react-native.d.ts b/types/xmpp__client/react-native.d.ts deleted file mode 100644 index a63abd8fb1447f..00000000000000 --- a/types/xmpp__client/react-native.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import * as fullClient from "./index"; - -export function client(...args: Parameters): Client; -export type Options = fullClient.Options; -export interface Client extends fullClient.Client { - mechanisms: Array<{ plain: undefined } | { anonymous: undefined }>; -} -export const jid: typeof fullClient.jid; -export const xml: typeof fullClient.xml; diff --git a/types/xmpp__client/test/xmpp__client-bundle.ts b/types/xmpp__client/test/xmpp__client-bundle.ts index 478febb89b37a7..9024ae22cba526 100644 --- a/types/xmpp__client/test/xmpp__client-bundle.ts +++ b/types/xmpp__client/test/xmpp__client-bundle.ts @@ -24,7 +24,7 @@ c.iqCallee; // $ExpectType IQCallee c.starttls; // $ExpectType Middleware> c.sasl; // $ExpectType SASL c.streamManagement; // $ExpectType StreamManagement -c.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; })[] +c.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; } | { scramsha1: undefined })[] XMPP.jid("foo"); XMPP.jid(null, "foo", "bar"); diff --git a/types/xmpp__client/test/xmpp__client.ts b/types/xmpp__client/test/xmpp__client.ts index 1ac6470bebe468..28dafad5ecadd8 100644 --- a/types/xmpp__client/test/xmpp__client.ts +++ b/types/xmpp__client/test/xmpp__client.ts @@ -1,19 +1,13 @@ import { Client, client, jid, Options, xml } from "@xmpp/client"; -import * as browser from "@xmpp/client/browser"; -import * as browserBundle from "@xmpp/client/dist/xmpp"; -import * as browserBundleMin from "@xmpp/client/dist/xmpp.min"; -import * as rn from "@xmpp/client/react-native"; -import getDomain = require("@xmpp/client/lib/getDomain"); import { Client as ClientCore } from "@xmpp/client-core"; +import * as browserBundle from "@xmpp/client/dist/xmpp.js"; +import * as browserBundleMin from "@xmpp/client/dist/xmpp.min.js"; +import getDomain from "@xmpp/client/lib/getDomain.js"; import { Element } from "@xmpp/xml"; // test type exports type Opts = Options; type Cl = Client; -type Opts2 = rn.Options; -type Cl2 = rn.Client; -type Opts3 = browser.Options; -type Cl3 = browser.Client; type Opts4 = browserBundle.Options; type Cl4 = browserBundle.Client; type Opts5 = browserBundleMin.Options; @@ -32,8 +26,6 @@ client({ domain: "foo" }); // $ExpectType Client client({ service: "foo.bar" }); // $ExpectType Client client({ lang: "en" }); // $ExpectType Client -const rnC = rn.client(); // $ExpectType Client -const browserC = browser.client(); // $ExpectType Client const browserBundleC = browserBundle.client(); // $ExpectType Client const browserBundleMinC = browserBundleMin.client(); // $ExpectType Client @@ -49,19 +41,13 @@ c.sasl; // $ExpectType SASL c.streamManagement; // $ExpectType StreamManagement c.mechanisms; // $ExpectType ({ scramsha1: undefined; } | { plain: undefined; } | { anonymous: undefined; })[] -rnC.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; })[] -browserC.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; })[] -browserBundleC.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; })[] -browserBundleMinC.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; })[] +browserBundleC.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; } | { scramsha1: undefined })[] +browserBundleMinC.mechanisms; // $ExpectType ({ plain: undefined; } | { anonymous: undefined; } | { scramsha1: undefined })[] getDomain("foo.bar"); // $ExpectType string jid("foo"); jid(null, "foo", "bar"); -rn.jid("foo"); -rn.jid(null, "foo", "bar"); -browser.jid("foo"); -browser.jid(null, "foo", "bar"); browserBundle.jid("foo"); browserBundle.jid(null, "foo", "bar"); browserBundleMin.jid("foo"); @@ -69,10 +55,6 @@ browserBundleMin.jid(null, "foo", "bar"); xml("foo"); xml("foo", { foo: "bar" }, "bar"); -rn.xml("foo"); -rn.xml("foo", { foo: "bar" }, "bar"); -browser.xml("foo"); -browser.xml("foo", { foo: "bar" }, "bar"); browserBundle.xml("foo"); browserBundle.xml("foo", { foo: "bar" }, "bar"); browserBundleMin.xml("foo"); diff --git a/types/xmpp__client/tsconfig.json b/types/xmpp__client/tsconfig.json index b16eacc060ff3e..76ad327a70c1fd 100644 --- a/types/xmpp__client/tsconfig.json +++ b/types/xmpp__client/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "commonjs", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__component-core/index.d.ts b/types/xmpp__component-core/index.d.ts index 0b4e96f8ec29ae..a1b3d6339bae4b 100644 --- a/types/xmpp__component-core/index.d.ts +++ b/types/xmpp__component-core/index.d.ts @@ -1,9 +1,10 @@ -import ComponentCls = require("./lib/Component"); -import xmppXml = require("@xmpp/xml"); -import xmppJid = require("@xmpp/jid"); +import xmppJid from "@xmpp/jid"; +import xmppXml from "@xmpp/xml"; +import ComponentCls from "./lib/Component.js"; + +export { SocketParameters } from "./lib/Component.js"; export const Component: typeof ComponentCls; export type Component = ComponentCls; -export type SocketParameters = ComponentCls.SocketParameters; export const xml: typeof xmppXml; export const jid: typeof xmppJid; diff --git a/types/xmpp__component-core/lib/Component.d.ts b/types/xmpp__component-core/lib/Component.d.ts index b6e8914e15ec41..dc12e37bf19ce2 100644 --- a/types/xmpp__component-core/lib/Component.d.ts +++ b/types/xmpp__component-core/lib/Component.d.ts @@ -1,16 +1,14 @@ -import ConnectionTCP = require("@xmpp/connection-tcp"); +import ConnectionTCP, { SocketParameters as ConnectionTCPSocketParameters } from "@xmpp/connection-tcp"; -export = Component; +export default Component; declare class Component extends ConnectionTCP { static readonly NS: "jabber:component:accept"; - socketParameters(service: string): Component.SocketParameters; + socketParameters(service: string): SocketParameters; authenticate(id: string, password: string): Promise; } -declare namespace Component { - interface SocketParameters extends ConnectionTCP.SocketParameters { - port: number; - } +export interface SocketParameters extends ConnectionTCPSocketParameters { + port: number; } diff --git a/types/xmpp__component-core/package.json b/types/xmpp__component-core/package.json index 537ff7d49777ba..20bcd0e0c2c17e 100644 --- a/types/xmpp__component-core/package.json +++ b/types/xmpp__component-core/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__component-core", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/component-core" ], diff --git a/types/xmpp__component-core/tsconfig.json b/types/xmpp__component-core/tsconfig.json index 72641d8e920538..3d2f25ab887091 100644 --- a/types/xmpp__component-core/tsconfig.json +++ b/types/xmpp__component-core/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__component-core/xmpp__component-core-tests.ts b/types/xmpp__component-core/xmpp__component-core-tests.ts index 1e899ee46f926d..1169c52fba22d9 100644 --- a/types/xmpp__component-core/xmpp__component-core-tests.ts +++ b/types/xmpp__component-core/xmpp__component-core-tests.ts @@ -1,5 +1,5 @@ import { Component, jid, SocketParameters, xml } from "@xmpp/component-core"; -import ConnectionTCP = require("@xmpp/connection-tcp"); +import ConnectionTCP from "@xmpp/connection-tcp"; // test type exports type Comp = Component; diff --git a/types/xmpp__component/index.d.ts b/types/xmpp__component/index.d.ts index 243046d44b9795..aa36c891be6d9e 100644 --- a/types/xmpp__component/index.d.ts +++ b/types/xmpp__component/index.d.ts @@ -1,6 +1,6 @@ import { Component as ComponentCore, jid as xmppJid, xml as xmppXml } from "@xmpp/component-core"; -import { IQCallee } from "@xmpp/iq/callee"; -import { IQCaller } from "@xmpp/iq/caller"; +import { IQCallee } from "@xmpp/iq/callee.js"; +import { IQCaller } from "@xmpp/iq/caller.js"; import { Middleware } from "@xmpp/middleware"; import { Reconnect } from "@xmpp/reconnect"; diff --git a/types/xmpp__component/package.json b/types/xmpp__component/package.json index dff68de01bc5e3..7a9b0442e5d67f 100644 --- a/types/xmpp__component/package.json +++ b/types/xmpp__component/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__component", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/component" ], diff --git a/types/xmpp__component/tsconfig.json b/types/xmpp__component/tsconfig.json index 76e8eeb9ef1103..c7b5f78c1da9c8 100644 --- a/types/xmpp__component/tsconfig.json +++ b/types/xmpp__component/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__connection-tcp/Socket.d.ts b/types/xmpp__connection-tcp/Socket.d.ts new file mode 100644 index 00000000000000..bc59e0829aa895 --- /dev/null +++ b/types/xmpp__connection-tcp/Socket.d.ts @@ -0,0 +1,7 @@ +import { Socket as TCPSocket } from "node:net"; + +export default Socket; + +declare class Socket extends TCPSocket { + secure: boolean; +} diff --git a/types/xmpp__connection-tcp/index.d.ts b/types/xmpp__connection-tcp/index.d.ts index fa203db9b9488e..16ae9a943a35a6 100644 --- a/types/xmpp__connection-tcp/index.d.ts +++ b/types/xmpp__connection-tcp/index.d.ts @@ -1,25 +1,23 @@ -import Connection = require("@xmpp/connection"); +import Connection, { SocketConstructor as ConnectionSocketConstructor } from "@xmpp/connection"; import { Element } from "@xmpp/xml"; -import { Socket } from "net"; import { URL } from "url"; +import Socket from "./Socket.js"; -export = ConnectionTCP; +export default ConnectionTCP; declare class ConnectionTCP extends Connection { sendMany(elements: Iterable): Promise; - socketParameters(service: string | URL): ConnectionTCP.SocketParameters | undefined; + socketParameters(service: string | URL): SocketParameters | undefined; headerElement(): Element; - Socket: ConnectionTCP.SocketConstructor; + Socket: SocketConstructor; } -declare namespace ConnectionTCP { - interface SocketParameters { - port: number | null; - host: string; - } +export interface SocketParameters { + port: number | null; + host: string; +} - interface SocketConstructor extends Connection.SocketConstructor { - new(): Socket; - } +export interface SocketConstructor extends ConnectionSocketConstructor { + new(): Socket; } diff --git a/types/xmpp__connection-tcp/package.json b/types/xmpp__connection-tcp/package.json index efbe9239760c08..28d396aeb8b947 100644 --- a/types/xmpp__connection-tcp/package.json +++ b/types/xmpp__connection-tcp/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__connection-tcp", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/connection-tcp" ], diff --git a/types/xmpp__connection-tcp/tsconfig.json b/types/xmpp__connection-tcp/tsconfig.json index d94ae93d149eb3..424477e04c56d2 100644 --- a/types/xmpp__connection-tcp/tsconfig.json +++ b/types/xmpp__connection-tcp/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__connection-tcp/xmpp__connection-tcp-tests.ts b/types/xmpp__connection-tcp/xmpp__connection-tcp-tests.ts index 80a5a3db031c68..75f81455aeebf4 100644 --- a/types/xmpp__connection-tcp/xmpp__connection-tcp-tests.ts +++ b/types/xmpp__connection-tcp/xmpp__connection-tcp-tests.ts @@ -1,12 +1,8 @@ -import Connection = require("@xmpp/connection"); -import ConnectionTCP = require("@xmpp/connection-tcp"); +import Connection from "@xmpp/connection"; +import ConnectionTCP, { SocketConstructor, SocketParameters } from "@xmpp/connection-tcp"; import { Element } from "@xmpp/xml"; import { URL } from "url"; -// test type exports -type SocketParams = ConnectionTCP.SocketParameters; -type SocketCtor = ConnectionTCP.SocketConstructor; - const cTcp = new ConnectionTCP({ domain: "foo", service: "bar" }); const c: Connection = cTcp; cTcp.sendMany([new Element("foo")]); // $ExpectType Promise diff --git a/types/xmpp__connection/index.d.ts b/types/xmpp__connection/index.d.ts index 0f2c84249c41b2..6d930114acfaed 100644 --- a/types/xmpp__connection/index.d.ts +++ b/types/xmpp__connection/index.d.ts @@ -2,24 +2,12 @@ import { EventEmitter } from "@xmpp/events"; import { JID } from "@xmpp/jid"; import { Element, Parser } from "@xmpp/xml"; -export = Connection; +export default Connection; declare abstract class Connection extends EventEmitter { jid: JID | null; timeout: number; - options: Partial; - socketListeners: { - data?: (data: Buffer) => void; - close?: (hadError: boolean, event?: string) => void; - connect?: () => void; - error?: (error: Error) => void; - }; - parserListeners: { - element?: (element: Element) => void; - error?: (error: Error) => void; - end?: (element: Element) => void; - start?: (element: Element) => void; - }; + options: Partial; /** * `online` indicates that `xmpp` is authenticated and addressable. It is emitted every time there is a successful (re)connection. * @@ -36,16 +24,21 @@ declare abstract class Connection extends EventEmitter { * - `disconnecting`: Socket is disconnecting * - `disconnect`: Socket is disconnected */ - status: Connection.Status; - socket: Connection.SocketBase | null; + status: Status; + socket: SocketBase | null; parser: Parser | null; root: Element | null; NS: string; - Socket: Connection.SocketConstructor | null; + Socket: SocketConstructor | null; Parser: typeof Parser | null; - constructor(options: Connection.Options); + constructor(options: Options); + + /** + * Returns whether the connection is considered secure. + */ + isSecure(): boolean; /** * Opens the socket then opens the stream @@ -64,7 +57,7 @@ declare abstract class Connection extends EventEmitter { /** * Opens the stream */ - open(options: string | Connection.OpenOptions): Promise; + open(options: OpenOptions): Promise; /** * Closes the stream then closes the socket * https://xmpp.org/rfcs/rfc6120.html#streams-close @@ -94,145 +87,147 @@ declare abstract class Connection extends EventEmitter { footerElement(): Element; abstract socketParameters(service: string): unknown | undefined; - addListener( + addListener( event: TEvent, - listener: Connection.ConnectionEvents[TEvent], + listener: ConnectionEvents[TEvent], ): this; addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on( + on( event: TEvent, - listener: Connection.ConnectionEvents[TEvent], + listener: ConnectionEvents[TEvent], ): this; on(event: string | symbol, listener: (...args: any[]) => void): this; - once( + once( event: TEvent, - listener: Connection.ConnectionEvents[TEvent], + listener: ConnectionEvents[TEvent], ): this; once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( + prependListener( event: TEvent, - listener: Connection.ConnectionEvents[TEvent], + listener: ConnectionEvents[TEvent], ): this; prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( + prependOnceListener( event: TEvent, - listener: Connection.ConnectionEvents[TEvent], + listener: ConnectionEvents[TEvent], ): this; prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener( + removeListener( event: TEvent, - listener: Connection.ConnectionEvents[TEvent], + listener: ConnectionEvents[TEvent], ): this; removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - off( + off( event: TEvent, - listener: Connection.ConnectionEvents[TEvent], + listener: ConnectionEvents[TEvent], ): this; off(event: string | symbol, listener: (...args: any[]) => void): this; - emit( + emit( event: "status", status: TStatus, - ...args: Parameters + ...args: Parameters ): boolean; - emit( + emit( event: TEvent, - ...args: Parameters + ...args: Parameters ): boolean; emit(event: string | symbol, ...args: any[]): boolean; } -declare namespace Connection { - type Status = keyof StatusEvents; - - interface Options { - /** - * The service to connect to, accepts an URI or a domain. - * - * - `domain` lookup and connect to the most secure endpoint using `@xmpp/resolve` - * - `xmpp://hostname:port` plain TCP, may be upgraded to TLS by `@xmpp/starttls` - * - `xmpps://hostname:port` direct TLS - * - `ws://hostname:port/path` plain WebSocket - * - `wss://hostname:port/path` secure WebSocket - */ - service?: string; - /** - * Domain of the service. Useful when the service domain is different than the service hostname. - */ - domain?: string; - lang?: string | undefined; - } - - interface OpenOptions { - domain: string; - lang?: string | undefined; - timeout?: number | undefined; - } - - interface ConnectionEvents extends StatusEvents { - input: (input: string) => void; - send: (el: Element) => void; - error: (error: Error) => void; - element: (el: Element) => void; - stanza: (el: Element) => void; - nonza: (el: Element) => void; - status: ( - status: TStatus, - ...args: Parameters - ) => void; - } - - interface StatusEvents { - online: (jid: JID) => void; - offline: (el: Element) => void; - connect: () => void; - connecting: (service: string) => void; - disconnect: (result: { clean: boolean; event: unknown }) => void; - disconnecting: () => void; - open: (el: Element) => void; - opening: () => void; - close: (el: Element) => void; - closing: () => void; - } - - interface SocketConstructor { - new(): SocketBase; - } - - interface SocketBase extends EventEmitter { - connect(parameters: unknown): void; - write(str: string, cb: (err?: Error) => void): void; - end(): void; - - addListener(event: TEvent, listener: SocketEvents[TEvent]): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - on(event: TEvent, listener: SocketEvents[TEvent]): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: TEvent, listener: SocketEvents[TEvent]): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: TEvent, listener: SocketEvents[TEvent]): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: TEvent, listener: SocketEvents[TEvent]): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: TEvent, ...args: Parameters): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - } - - interface SocketEvents { - close: (hadError: boolean) => void; - connect: () => void; - data: (data: Buffer) => void; - error: (err: Error) => void; - } +export type Status = keyof StatusEvents; + +export interface Options { + /** + * The service to connect to, accepts an URI or a domain. + * + * - `domain` lookup and connect to the most secure endpoint using `@xmpp/resolve` + * - `xmpp://hostname:port` plain TCP, may be upgraded to TLS by `@xmpp/starttls` + * - `xmpps://hostname:port` direct TLS + * - `ws://hostname:port/path` plain WebSocket + * - `wss://hostname:port/path` secure WebSocket + */ + service?: string; + /** + * Domain of the service. Useful when the service domain is different than the service hostname. + */ + domain?: string; + lang?: string | undefined; + + /** + * Number of milliseconds to wait before timing out (default is `2000`) + */ + timeout?: number; +} + +export interface OpenOptions { + domain: string; + lang?: string | undefined; +} + +export interface ConnectionEvents extends StatusEvents { + input: (input: string) => void; + send: (el: Element) => void; + error: (error: Error) => void; + element: (el: Element) => void; + stanza: (el: Element) => void; + nonza: (el: Element) => void; + status: ( + status: TStatus, + ...args: Parameters + ) => void; +} + +export interface StatusEvents { + online: (jid: JID) => void; + offline: (el: Element) => void; + connect: () => void; + connecting: (service: string) => void; + disconnect: (result: { clean: boolean; event: unknown }) => void; + disconnecting: () => void; + open: (el: Element) => void; + opening: () => void; + close: (el: Element) => void; + closing: () => void; +} + +export interface SocketConstructor { + new(): SocketBase; +} + +export interface SocketBase extends EventEmitter { + connect(parameters: unknown): void; + write(str: string, cb: (err?: Error) => void): void; + end(): void; + + addListener(event: TEvent, listener: SocketEvents[TEvent]): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + + on(event: TEvent, listener: SocketEvents[TEvent]): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + + once(event: TEvent, listener: SocketEvents[TEvent]): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + + prependListener(event: TEvent, listener: SocketEvents[TEvent]): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + + prependOnceListener(event: TEvent, listener: SocketEvents[TEvent]): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + + emit(event: TEvent, ...args: Parameters): boolean; + emit(event: string | symbol, ...args: any[]): boolean; +} + +export interface SocketEvents { + close: (hadError: boolean) => void; + connect: () => void; + data: (data: Buffer) => void; + error: (err: Error) => void; } diff --git a/types/xmpp__connection/lib/StreamError.d.ts b/types/xmpp__connection/lib/StreamError.d.ts index dd83c5cdd8bcd0..64f03fb24c4ca6 100644 --- a/types/xmpp__connection/lib/StreamError.d.ts +++ b/types/xmpp__connection/lib/StreamError.d.ts @@ -1,5 +1,5 @@ -import XMPPError = require("@xmpp/error"); +import XMPPError from "@xmpp/error"; -export = StreamError; +export default StreamError; declare class StreamError extends XMPPError<"StreamError"> {} diff --git a/types/xmpp__connection/package.json b/types/xmpp__connection/package.json index fbc877aab27209..344c0de5389b74 100644 --- a/types/xmpp__connection/package.json +++ b/types/xmpp__connection/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__connection", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/connection" ], diff --git a/types/xmpp__connection/tsconfig.json b/types/xmpp__connection/tsconfig.json index 238bf1abcae252..708441288c74a5 100644 --- a/types/xmpp__connection/tsconfig.json +++ b/types/xmpp__connection/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__connection/xmpp__connection-tests.ts b/types/xmpp__connection/xmpp__connection-tests.ts index 9043bbcd1e95cf..1a137b4b0df1dd 100644 --- a/types/xmpp__connection/xmpp__connection-tests.ts +++ b/types/xmpp__connection/xmpp__connection-tests.ts @@ -1,7 +1,16 @@ -import Connection = require("@xmpp/connection"); -import StreamError = require("@xmpp/connection/lib/StreamError"); -import * as util from "@xmpp/connection/lib/util"; -import XMPPError = require("@xmpp/error"); +import Connection, { + ConnectionEvents, + OpenOptions, + Options, + SocketBase, + SocketConstructor, + SocketEvents, + Status, + StatusEvents, +} from "@xmpp/connection"; +import StreamError from "@xmpp/connection/lib/StreamError.js"; +import * as util from "@xmpp/connection/lib/util.js"; +import XMPPError from "@xmpp/error"; import { JID } from "@xmpp/jid"; import { Element } from "@xmpp/xml"; import { SocketConnectOpts } from "net"; @@ -11,14 +20,6 @@ import { URL } from "url"; type ParsedHost = util.ParsedHost; type ParsedURI = util.ParsedURI; type ParsedService = util.ParsedService; -type Status = Connection.Status; -type Options = Connection.Options; -type OpenOptions = Connection.OpenOptions; -type ConnectionEvents = Connection.ConnectionEvents; -type StatusEvents = Connection.StatusEvents; -type SocketConstructor = Connection.SocketConstructor; -type SocketBase = Connection.SocketBase; -type SocketEvents = Connection.SocketEvents; const streamErr = new StreamError("foo"); const xmppErr: XMPPError<"StreamError"> = streamErr; @@ -71,14 +72,6 @@ new MyConn({ service: "foo", domain: "bar.baz", lang: "en" }); conn.jid; // $ExpectType JID | null conn.timeout; // $ExpectType number conn.options; // $ExpectType Partial -conn.socketListeners.data; // $ExpectType ((data: Buffer) => void) | undefined || ((data: Buffer) => void) | undefined -conn.socketListeners.close; // $ExpectType ((hadError: boolean, event?: string | undefined) => void) | undefined -conn.socketListeners.connect; // $ExpectType (() => void) | undefined -conn.socketListeners.error; // $ExpectType ((error: Error) => void) | undefined -conn.parserListeners.element; // $ExpectType ((element: Element) => void) | undefined -conn.parserListeners.error; // $ExpectType ((error: Error) => void) | undefined -conn.parserListeners.end; // $ExpectType ((element: Element) => void) | undefined -conn.parserListeners.start; // $ExpectType ((element: Element) => void) | undefined const s: keyof StatusEvents = conn.status; conn.socket; // $ExpectType SocketBase | null conn.parser; // $ExpectType Parser | null @@ -91,10 +84,8 @@ conn.start(); // $ExpectType Promise conn.connect("foo"); // $ExpectType Promise conn.disconnect(); // $ExpectType Promise conn.disconnect(100); // $ExpectType Promise -conn.open("foo"); // $ExpectType Promise conn.open({ domain: "foo" }); // $ExpectType Promise conn.open({ domain: "foo", lang: "en" }); // $ExpectType Promise -conn.open({ domain: "foo", timeout: 100 }); // $ExpectType Promise conn.stop(); // $ExpectType Promise conn.close(); // $ExpectType Promise conn.close(100); // $ExpectType Promise diff --git a/types/xmpp__debug/index.d.ts b/types/xmpp__debug/index.d.ts index 2af7c3f5407529..07f1c7fe31ea61 100644 --- a/types/xmpp__debug/index.d.ts +++ b/types/xmpp__debug/index.d.ts @@ -1,7 +1,7 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; import { Element } from "@xmpp/xml"; -export = debug; +export default debug; /** * Prints logs and debug information to the console for an entity. @@ -19,6 +19,4 @@ export = debug; */ declare function debug(entity: Connection, force?: boolean): void; -declare namespace debug { - function hideSensitive(el: Element): Element; -} +export function hideSensitive(el: Element): Element; diff --git a/types/xmpp__debug/package.json b/types/xmpp__debug/package.json index 79087625d56bc2..f430024e9d3871 100644 --- a/types/xmpp__debug/package.json +++ b/types/xmpp__debug/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__debug", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/debug" ], diff --git a/types/xmpp__debug/tsconfig.json b/types/xmpp__debug/tsconfig.json index a33d31f3573cd1..69bfc092f954e1 100644 --- a/types/xmpp__debug/tsconfig.json +++ b/types/xmpp__debug/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__debug/xmpp__debug-tests.ts b/types/xmpp__debug/xmpp__debug-tests.ts index 064b8fd83083a0..d3d7a0e2216db9 100644 --- a/types/xmpp__debug/xmpp__debug-tests.ts +++ b/types/xmpp__debug/xmpp__debug-tests.ts @@ -1,11 +1,7 @@ -import Connection = require("@xmpp/connection"); -import debug = require("@xmpp/debug"); +import Connection from "@xmpp/connection"; +import debug, { hideSensitive } from "@xmpp/debug"; import { Element } from "@xmpp/xml"; debug(null as any as Connection); // $ExpectType void debug(null as any as Connection, true); // $ExpectType void -debug.hideSensitive(new Element("foo")); // $ExpectType Element -debug.hideSensitive = el => { - el; // $ExpectType Element - return el; -}; +hideSensitive(new Element("foo")); // $ExpectType Element diff --git a/types/xmpp__error/index.d.ts b/types/xmpp__error/index.d.ts index 44d388c656df28..3a911d94a4119a 100644 --- a/types/xmpp__error/index.d.ts +++ b/types/xmpp__error/index.d.ts @@ -1,6 +1,6 @@ import { Element } from "@xmpp/xml"; -export = XMPPError; +export default XMPPError; declare class XMPPError extends Error { readonly name: TName; diff --git a/types/xmpp__error/package.json b/types/xmpp__error/package.json index 3dd219968aca57..368d644d989d5b 100644 --- a/types/xmpp__error/package.json +++ b/types/xmpp__error/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__error", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/error" ], diff --git a/types/xmpp__error/tsconfig.json b/types/xmpp__error/tsconfig.json index eb95ddcb4656b5..016bea0c1353ef 100644 --- a/types/xmpp__error/tsconfig.json +++ b/types/xmpp__error/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__error/xmpp__error-tests.ts b/types/xmpp__error/xmpp__error-tests.ts index 09ca5a1ff87192..615220fc0232d8 100644 --- a/types/xmpp__error/xmpp__error-tests.ts +++ b/types/xmpp__error/xmpp__error-tests.ts @@ -1,4 +1,4 @@ -import XMPPError = require("@xmpp/error"); +import XMPPError from "@xmpp/error"; import { Element } from "@xmpp/xml"; const err = new XMPPError("foo"); diff --git a/types/xmpp__events/index.d.ts b/types/xmpp__events/index.d.ts index a592a9d85ee189..1a5221da73799d 100644 --- a/types/xmpp__events/index.d.ts +++ b/types/xmpp__events/index.d.ts @@ -1,6 +1,8 @@ /// -import events = require("events"); +import Connection from "@xmpp/connection"; +import { Element } from "@xmpp/xml"; +import * as events from "events"; export const EventEmitter: typeof events.EventEmitter; export type EventEmitter = events.EventEmitter; @@ -26,3 +28,11 @@ export class Deferred { resolve(value: TValue | PromiseLike): void; reject(reason?: any): void; } + +export function procedure( + entity: Connection, + stanza: Element | null | undefined, + handler: (element: Element, done: (args: T) => void) => Promise, +): Promise; + +export function tick(): Promise; diff --git a/types/xmpp__events/package.json b/types/xmpp__events/package.json index f4b44cc020ec31..d0596162a032fa 100644 --- a/types/xmpp__events/package.json +++ b/types/xmpp__events/package.json @@ -1,12 +1,15 @@ { "private": true, "name": "@types/xmpp__events", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/events" ], "dependencies": { - "@types/node": "*" + "@types/node": "*", + "@types/xmpp__connection": "*", + "@types/xmpp__xml": "*" }, "devDependencies": { "@types/xmpp__events": "workspace:." diff --git a/types/xmpp__events/tsconfig.json b/types/xmpp__events/tsconfig.json index fd8acfee16dd95..dff3517f1f62fb 100644 --- a/types/xmpp__events/tsconfig.json +++ b/types/xmpp__events/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__id/index.d.ts b/types/xmpp__id/index.d.ts index 6fd857548cf458..5d73d641494b76 100644 --- a/types/xmpp__id/index.d.ts +++ b/types/xmpp__id/index.d.ts @@ -1,4 +1,4 @@ -export = id; +export default id; /** * XMPP id generator for JavaScript. diff --git a/types/xmpp__id/package.json b/types/xmpp__id/package.json index 78f27ea3323c1f..6a25dec842714b 100644 --- a/types/xmpp__id/package.json +++ b/types/xmpp__id/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__id", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/id" ], diff --git a/types/xmpp__id/tsconfig.json b/types/xmpp__id/tsconfig.json index a09670186ae6dd..98b3ff18b14bc8 100644 --- a/types/xmpp__id/tsconfig.json +++ b/types/xmpp__id/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__id/xmpp__id-tests.ts b/types/xmpp__id/xmpp__id-tests.ts index 145a24162834ab..3446c2955da4c9 100644 --- a/types/xmpp__id/xmpp__id-tests.ts +++ b/types/xmpp__id/xmpp__id-tests.ts @@ -1,3 +1,3 @@ -import id = require("@xmpp/id"); +import id from "@xmpp/id"; id(); // $ExpectType string diff --git a/types/xmpp__iq/callee.d.ts b/types/xmpp__iq/callee.d.ts index 56ed2dda49ee5c..f857400408135d 100644 --- a/types/xmpp__iq/callee.d.ts +++ b/types/xmpp__iq/callee.d.ts @@ -1,7 +1,7 @@ import { Entity, IncomingContext, Middleware } from "@xmpp/middleware"; import koaCompose = require("koa-compose"); -export = iqCallee; +export default iqCallee; declare function iqCallee({ middleware, @@ -9,35 +9,33 @@ declare function iqCallee({ }: { middleware: Middleware; entity: TEntity; -}): iqCallee.IQCallee; +}): IQCallee; -declare namespace iqCallee { +/** + * Implements the callee side of iq semantics. + * + * You can think of this as http routing except there are only 2 methods; `get` and `set` + * and you would pass a namespace and a tag name instead of an url. The return value of + * the handler will be the child element of the response sent to the caller. + */ +// eslint-disable-next-line @typescript-eslint/naming-convention +export interface IQCallee { /** - * Implements the callee side of iq semantics. + * Add a `get` handler. * - * You can think of this as http routing except there are only 2 methods; `get` and `set` - * and you would pass a namespace and a tag name instead of an url. The return value of - * the handler will be the child element of the response sent to the caller. + * @example + * iqCallee.get('foo:bar', 'foo', (ctx) => { + * return xml('foo', { xmlns: 'foo:bar' }); + * }); */ - // eslint-disable-next-line @typescript-eslint/naming-convention - interface IQCallee { - /** - * Add a `get` handler. - * - * @example - * iqCallee.get('foo:bar', 'foo', (ctx) => { - * return xml('foo', { xmlns: 'foo:bar' }); - * }); - */ - get(ns: string, name: string, handler: koaCompose.Middleware>): void; - /** - * Add a `set` handler. - * - * @example - * iqCallee.set('foo:bar', 'foo', (ctx) => { - * return xml('foo', { xmlns: 'foo:bar' }); - * }); - */ - set(ns: string, name: string, handler: koaCompose.Middleware>): void; - } + get(ns: string, name: string, handler: koaCompose.Middleware>): void; + /** + * Add a `set` handler. + * + * @example + * iqCallee.set('foo:bar', 'foo', (ctx) => { + * return xml('foo', { xmlns: 'foo:bar' }); + * }); + */ + set(ns: string, name: string, handler: koaCompose.Middleware>): void; } diff --git a/types/xmpp__iq/caller.d.ts b/types/xmpp__iq/caller.d.ts index d320d5d5bf6357..1799d60999d6a5 100644 --- a/types/xmpp__iq/caller.d.ts +++ b/types/xmpp__iq/caller.d.ts @@ -2,7 +2,7 @@ import { Deferred } from "@xmpp/events"; import { Entity, Middleware } from "@xmpp/middleware"; import { Element } from "@xmpp/xml"; -export = iqCaller; +export default iqCaller; declare function iqCaller({ middleware, @@ -10,64 +10,62 @@ declare function iqCaller({ }: { middleware: Middleware; entity: TEntity; -}): iqCaller.IQCaller; +}): IQCaller; -declare namespace iqCaller { +/** + * Implements the caller side of iq semantics. + */ +// eslint-disable-next-line @typescript-eslint/naming-convention +export interface IQCaller { + handlers: Map>; + entity: TEntity; + middleware: Middleware; + + start(): void; /** - * Implements the caller side of iq semantics. + * Sends an iq and returns a promise. + * + * - Resolves with the response when it is received. + * - Rejects with `StanzaError` when an error is received. + * - Rejects with `TimeoutError` if a reply wasn't received within the specified or default timeout. + * - Rejects with `Error` for anything else. + * + * * The request `id` attribute is optional and will be added if omitted. + * * The request `to` attribute is optional and will default to the server. + * + * @example + * const response = await iqCaller.request( + * xml('iq', { type: 'get' }, xml('foo', 'foo:bar')), + * 30 * 1000, // 30 seconds timeout - default + * ); + * const foo = response.getChild('foo', 'foo:bar'); + * console.log(foo); */ - // eslint-disable-next-line @typescript-eslint/naming-convention - interface IQCaller { - handlers: Map>; - entity: TEntity; - middleware: Middleware; - - start(): void; - /** - * Sends an iq and returns a promise. - * - * - Resolves with the response when it is received. - * - Rejects with `StanzaError` when an error is received. - * - Rejects with `TimeoutError` if a reply wasn't received within the specified or default timeout. - * - Rejects with `Error` for anything else. - * - * * The request `id` attribute is optional and will be added if omitted. - * * The request `to` attribute is optional and will default to the server. - * - * @example - * const response = await iqCaller.request( - * xml('iq', { type: 'get' }, xml('foo', 'foo:bar')), - * 30 * 1000, // 30 seconds timeout - default - * ); - * const foo = response.getChild('foo', 'foo:bar'); - * console.log(foo); - */ - request(stanza: Element, timeout?: number): Promise; - /** - * A convenient method to send a `get` request. Behaves like `request` but accepts/returns a child - * element instead of an `iq`. - * - * @example - * const foo = await iqCaller.get( - * xml('foo', 'foo:bar'), - * to, // 'to' attribute, optional - * timeout, // 30 seconds timeout - default - * ); - * console.log(foo); - */ - get(element: Element, to?: string, timeout?: number): Promise; - /** - * A convenient method to send a `set` request. Behaves like `request` but accepts/returns a child - * element instead of an `iq`. - * - * @example - * const foo = await iqCaller.set( - * xml('foo', 'foo:bar'), - * to, // 'to' attribute, optional - * timeout, // 30 seconds timeout - default - * ); - * console.log(foo); - */ - set(element: Element, to?: string, timeout?: number): Promise; - } + request(stanza: Element, timeout?: number): Promise; + /** + * A convenient method to send a `get` request. Behaves like `request` but accepts/returns a child + * element instead of an `iq`. + * + * @example + * const foo = await iqCaller.get( + * xml('foo', 'foo:bar'), + * to, // 'to' attribute, optional + * timeout, // 30 seconds timeout - default + * ); + * console.log(foo); + */ + get(element: Element, to?: string, timeout?: number): Promise; + /** + * A convenient method to send a `set` request. Behaves like `request` but accepts/returns a child + * element instead of an `iq`. + * + * @example + * const foo = await iqCaller.set( + * xml('foo', 'foo:bar'), + * to, // 'to' attribute, optional + * timeout, // 30 seconds timeout - default + * ); + * console.log(foo); + */ + set(element: Element, to?: string, timeout?: number): Promise; } diff --git a/types/xmpp__iq/package.json b/types/xmpp__iq/package.json index b35a4e4a5017d6..10364a5775bbb8 100644 --- a/types/xmpp__iq/package.json +++ b/types/xmpp__iq/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__iq", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/iq" ], diff --git a/types/xmpp__iq/tsconfig.json b/types/xmpp__iq/tsconfig.json index badab7daeaf168..002f5c84062168 100644 --- a/types/xmpp__iq/tsconfig.json +++ b/types/xmpp__iq/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__iq/xmpp__iq-tests.ts b/types/xmpp__iq/xmpp__iq-tests.ts index d0718de27c0107..3a4bbcc968181a 100644 --- a/types/xmpp__iq/xmpp__iq-tests.ts +++ b/types/xmpp__iq/xmpp__iq-tests.ts @@ -1,14 +1,10 @@ -import Connection = require("@xmpp/connection"); -import iqCallee = require("@xmpp/iq/callee"); -import iqCaller = require("@xmpp/iq/caller"); -import middleware = require("@xmpp/middleware"); +import Connection from "@xmpp/connection"; +import iqCallee, { IQCallee } from "@xmpp/iq/callee.js"; +import iqCaller, { IQCaller } from "@xmpp/iq/caller.js"; +import middleware, { Entity } from "@xmpp/middleware"; import { Element } from "@xmpp/xml"; -// test type exports -type IQCallee = iqCallee.IQCallee; -type IQCaller = iqCaller.IQCaller; - -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; diff --git a/types/xmpp__jid/index.d.ts b/types/xmpp__jid/index.d.ts index 3522d7b86e7cdd..bbf28820f0599b 100644 --- a/types/xmpp__jid/index.d.ts +++ b/types/xmpp__jid/index.d.ts @@ -1,57 +1,65 @@ -export = jid; +declare function jid(address: string): JID; +declare function jid(...args: ConstructorParameters): JID; -declare function jid(address: string): jid.JID; -declare function jid(...args: ConstructorParameters): jid.JID; +export { detectEscape, escapeLocal, JID, jid, parse, unescapeLocal }; -type JidFn = typeof jid; +declare const j: typeof jid & { + jid: typeof jid; + JID: typeof JID; + parse: typeof parse; + equal: typeof equal; + detectEscape: typeof detectEscape; + escapeLocal: typeof escapeLocal; + unescapeLocal: typeof unescapeLocal; +}; + +export default j; -declare namespace jid { - const jid: JidFn; +type JidFn = typeof jid; - function equal(a: JID, b: JID): boolean; - function detectEscape(local?: string): boolean; - function escapeLocal(local: string): string; - function unescapeLocal(local: string): string; - function parse(s: string): JID; +declare function equal(a: JID, b: JID): boolean; +declare function detectEscape(local?: string): boolean; +declare function escapeLocal(local: string): string; +declare function unescapeLocal(local: string): string; +declare function parse(s: string): JID; - class JID { - local: string; - domain: string; - resource: string; +declare class JID { + local: string; + domain: string; + resource: string; - constructor(local: string | null | undefined, domain: string, resource?: string | null); + constructor(local: string | null | undefined, domain: string, resource?: string | null); - toString(unescape?: boolean): string; + toString(unescape?: boolean): string; - /** - * Convenience method to distinguish users - */ - bare(): JID; + /** + * Convenience method to distinguish users + */ + bare(): JID; - /** - * Comparison function - */ - equals(other: JID): boolean; + /** + * Comparison function + */ + equals(other: JID): boolean; - /** - * http://xmpp.org/rfcs/rfc6122.html#addressing-localpart - */ - setLocal(local: string, escape?: boolean): void; + /** + * http://xmpp.org/rfcs/rfc6122.html#addressing-localpart + */ + setLocal(local: string, escape?: boolean): void; - getLocal(unescape?: boolean): string; + getLocal(unescape?: boolean): string; - /** - * http://xmpp.org/rfcs/rfc6122.html#addressing-domain - */ - setDomain(value: string): void; + /** + * http://xmpp.org/rfcs/rfc6122.html#addressing-domain + */ + setDomain(value: string): void; - getDomain(): string; + getDomain(): string; - /** - * http://xmpp.org/rfcs/rfc6122.html#addressing-resourcepart - */ - setResource(value: string): void; + /** + * http://xmpp.org/rfcs/rfc6122.html#addressing-resourcepart + */ + setResource(value: string): void; - getResource(): string; - } + getResource(): string; } diff --git a/types/xmpp__jid/package.json b/types/xmpp__jid/package.json index 1d1942367d662a..414e28a22bd46b 100644 --- a/types/xmpp__jid/package.json +++ b/types/xmpp__jid/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__jid", - "version": "1.3.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/jid" ], diff --git a/types/xmpp__jid/tsconfig.json b/types/xmpp__jid/tsconfig.json index 21b69e0a2b1a75..bc06cf8e922ece 100644 --- a/types/xmpp__jid/tsconfig.json +++ b/types/xmpp__jid/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__jid/xmpp__jid-tests.ts b/types/xmpp__jid/xmpp__jid-tests.ts index b51a2df764b122..77580a4feb974e 100644 --- a/types/xmpp__jid/xmpp__jid-tests.ts +++ b/types/xmpp__jid/xmpp__jid-tests.ts @@ -1,7 +1,4 @@ -import jid = require("@xmpp/jid"); - -// test type exports -type JID = jid.JID; +import jid, { JID } from "@xmpp/jid"; const addr = jid("alice@wonderland.net/rabbithole"); // $ExpectType JID jid("alice", "wonderland.net"); // $ExpectType JID diff --git a/types/xmpp__middleware/index.d.ts b/types/xmpp__middleware/index.d.ts index 76e3f7364c7045..b69a857ee6a651 100644 --- a/types/xmpp__middleware/index.d.ts +++ b/types/xmpp__middleware/index.d.ts @@ -1,30 +1,28 @@ import koaCompose = require("koa-compose"); -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; import { Element } from "@xmpp/xml"; -import IncomingCtx = require("./lib/IncomingContext"); -import OutgoingCtx = require("./lib/OutgoingContext"); +import IncomingCtx from "./lib/IncomingContext.js"; +import OutgoingCtx from "./lib/OutgoingContext.js"; -export = middleware; +export default middleware; -declare function middleware({ +declare function middleware({ entity, }: { entity: TEntity; -}): middleware.Middleware; +}): Middleware; -declare namespace middleware { - type IncomingContext = IncomingCtx; - type OutgoingContext = OutgoingCtx; +export type IncomingContext = IncomingCtx; +export type OutgoingContext = OutgoingCtx; - interface Entity extends Connection { - domain?: string; - hookOutgoing?: (stanza: Element) => Promise; - } +export interface Entity extends Connection { + domain?: string; + hookOutgoing?: (stanza: Element) => Promise; +} - interface Middleware { - use>>(middleware: TMiddleware): TMiddleware; - filter>>( - middleware: TMiddleware, - ): TMiddleware; - } +export interface Middleware { + use>>(middleware: TMiddleware): TMiddleware; + filter>>( + middleware: TMiddleware, + ): TMiddleware; } diff --git a/types/xmpp__middleware/lib/Context.d.ts b/types/xmpp__middleware/lib/Context.d.ts index c762e9ed771d06..ba33e79f568244 100644 --- a/types/xmpp__middleware/lib/Context.d.ts +++ b/types/xmpp__middleware/lib/Context.d.ts @@ -1,8 +1,8 @@ import { JID } from "@xmpp/jid"; import { Element } from "@xmpp/xml"; -import { Entity } from "../index"; +import { Entity } from "../index.js"; -export = Context; +export default Context; declare class Context { stanza: Element; diff --git a/types/xmpp__middleware/lib/IncomingContext.d.ts b/types/xmpp__middleware/lib/IncomingContext.d.ts index d67d662f9c5e81..b8cd94ab78136c 100644 --- a/types/xmpp__middleware/lib/IncomingContext.d.ts +++ b/types/xmpp__middleware/lib/IncomingContext.d.ts @@ -1,6 +1,6 @@ -import { Entity } from "../index"; -import Context = require("./Context"); +import { Entity } from "../index.js"; +import Context from "./Context.js"; -export = IncomingContext; +export default IncomingContext; declare class IncomingContext extends Context {} diff --git a/types/xmpp__middleware/lib/OutgoingContext.d.ts b/types/xmpp__middleware/lib/OutgoingContext.d.ts index cf229c5aa5aeb6..d5cfa3b0630d64 100644 --- a/types/xmpp__middleware/lib/OutgoingContext.d.ts +++ b/types/xmpp__middleware/lib/OutgoingContext.d.ts @@ -1,6 +1,6 @@ -import { Entity } from "../index"; -import Context = require("./Context"); +import { Entity } from "../index.js"; +import Context from "./Context.js"; -export = OutgoingContext; +export default OutgoingContext; declare class OutgoingContext extends Context {} diff --git a/types/xmpp__middleware/lib/StanzaError.d.ts b/types/xmpp__middleware/lib/StanzaError.d.ts index a13d50c834f6f7..1179ea2e2c6a9f 100644 --- a/types/xmpp__middleware/lib/StanzaError.d.ts +++ b/types/xmpp__middleware/lib/StanzaError.d.ts @@ -1,7 +1,7 @@ -import XMPPError = require("@xmpp/error"); +import XMPPError from "@xmpp/error"; import { Element } from "@xmpp/xml"; -export = StanzaError; +export default StanzaError; declare class StanzaError extends XMPPError<"StanzaError"> { type?: string | undefined; diff --git a/types/xmpp__middleware/package.json b/types/xmpp__middleware/package.json index c9a4e40a1b760e..eb199119d5652c 100644 --- a/types/xmpp__middleware/package.json +++ b/types/xmpp__middleware/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__middleware", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/middleware" ], diff --git a/types/xmpp__middleware/tsconfig.json b/types/xmpp__middleware/tsconfig.json index dc4a13d8cc6e84..91cbd2fca1359d 100644 --- a/types/xmpp__middleware/tsconfig.json +++ b/types/xmpp__middleware/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__middleware/xmpp__middleware-tests.ts b/types/xmpp__middleware/xmpp__middleware-tests.ts index 6e4cc59fa5a46c..16a0ad66449744 100644 --- a/types/xmpp__middleware/xmpp__middleware-tests.ts +++ b/types/xmpp__middleware/xmpp__middleware-tests.ts @@ -1,19 +1,12 @@ -import Connection = require("@xmpp/connection"); -import middleware = require("@xmpp/middleware"); -import Context = require("@xmpp/middleware/lib/Context"); -import IncomingContext = require("@xmpp/middleware/lib/IncomingContext"); -import OutgoingContext = require("@xmpp/middleware/lib/OutgoingContext"); -import StanzaError = require("@xmpp/middleware/lib/StanzaError"); +import Connection from "@xmpp/connection"; +import middleware, { Entity } from "@xmpp/middleware"; +import Context from "@xmpp/middleware/lib/Context.js"; +import IncomingContext from "@xmpp/middleware/lib/IncomingContext.js"; +import OutgoingContext from "@xmpp/middleware/lib/OutgoingContext.js"; +import StanzaError from "@xmpp/middleware/lib/StanzaError.js"; import { Element } from "@xmpp/xml"; -// test type exports -type E = middleware.Entity; -type Res = middleware.Middleware; -type IC = middleware.IncomingContext; -type OC = middleware.OutgoingContext; -type Err = StanzaError; - -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; diff --git a/types/xmpp__reconnect/index.d.ts b/types/xmpp__reconnect/index.d.ts index 67f98ab83ceb75..cd662d6ba9f0c3 100644 --- a/types/xmpp__reconnect/index.d.ts +++ b/types/xmpp__reconnect/index.d.ts @@ -1,7 +1,7 @@ +import Connection from "@xmpp/connection"; import { EventEmitter } from "@xmpp/events"; -import Connection = require("@xmpp/connection"); -export = reconnect; +export default reconnect; /** * Auto reconnect for `@xmpp/client` and `@xmpp/component`. @@ -12,15 +12,13 @@ export = reconnect; * * Each reconnect will re-use the options provided to the entity `start` method. */ -declare function reconnect(params: { entity: TEntity }): reconnect.Reconnect; +declare function reconnect(params: { entity: TEntity }): Reconnect; -declare namespace reconnect { - type Reconnect = ReconnectCls & { constructor: typeof ReconnectCls }; +export type Reconnect = ReconnectCls & { constructor: typeof ReconnectCls }; - interface ReconnectEvents { - reconnecting: () => void; - reconnected: () => void; - } +export interface ReconnectEvents { + reconnecting: () => void; + reconnected: () => void; } declare class ReconnectCls extends EventEmitter { @@ -34,8 +32,8 @@ declare class ReconnectCls extends EventEmitter { * * const reconnect = rec({entity: entity}); * - * reconnect.delay; // 1000 - * reconnect.delay = 2000; + * delay; // 1000 + * delay = 2000; */ delay: number; entity: TEntity; @@ -47,51 +45,51 @@ declare class ReconnectCls extends EventEmitter { start(): void; stop(): void; - addListener( + addListener( event: TEvent, - listener: reconnect.ReconnectEvents[TEvent], + listener: ReconnectEvents[TEvent], ): this; addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on( + on( event: TEvent, - listener: reconnect.ReconnectEvents[TEvent], + listener: ReconnectEvents[TEvent], ): this; on(event: string | symbol, listener: (...args: any[]) => void): this; - once( + once( event: TEvent, - listener: reconnect.ReconnectEvents[TEvent], + listener: ReconnectEvents[TEvent], ): this; once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener( + prependListener( event: TEvent, - listener: reconnect.ReconnectEvents[TEvent], + listener: ReconnectEvents[TEvent], ): this; prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener( + prependOnceListener( event: TEvent, - listener: reconnect.ReconnectEvents[TEvent], + listener: ReconnectEvents[TEvent], ): this; prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener( + removeListener( event: TEvent, - listener: reconnect.ReconnectEvents[TEvent], + listener: ReconnectEvents[TEvent], ): this; removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - off( + off( event: TEvent, - listener: reconnect.ReconnectEvents[TEvent], + listener: ReconnectEvents[TEvent], ): this; off(event: string | symbol, listener: (...args: any[]) => void): this; - emit( + emit( event: TEvent, - ...args: Parameters + ...args: Parameters ): boolean; emit(event: string | symbol, ...args: any[]): boolean; } diff --git a/types/xmpp__reconnect/package.json b/types/xmpp__reconnect/package.json index 9099f69cdd9ba7..6816868683a7c3 100644 --- a/types/xmpp__reconnect/package.json +++ b/types/xmpp__reconnect/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__reconnect", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/reconnect" ], diff --git a/types/xmpp__reconnect/tsconfig.json b/types/xmpp__reconnect/tsconfig.json index a5e86a2a53f77c..1536a165438969 100644 --- a/types/xmpp__reconnect/tsconfig.json +++ b/types/xmpp__reconnect/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__reconnect/xmpp__reconnect-tests.ts b/types/xmpp__reconnect/xmpp__reconnect-tests.ts index 2f0ab97dbd49b9..263b66de647614 100644 --- a/types/xmpp__reconnect/xmpp__reconnect-tests.ts +++ b/types/xmpp__reconnect/xmpp__reconnect-tests.ts @@ -1,12 +1,8 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; import { EventEmitter } from "@xmpp/events"; -import reconnect = require("@xmpp/reconnect"); +import reconnect from "@xmpp/reconnect"; import { Element } from "@xmpp/xml"; -// test type exports -type R = reconnect.Reconnect; -type RE = reconnect.ReconnectEvents; - class Foo extends Connection { domain?: string; hookOutgoing?: (stanza: Element) => Promise; diff --git a/types/xmpp__resolve/index.d.ts b/types/xmpp__resolve/index.d.ts index 31f1945b81dedc..884132e95c17b0 100644 --- a/types/xmpp__resolve/index.d.ts +++ b/types/xmpp__resolve/index.d.ts @@ -1,5 +1,5 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; -export = resolve; +export default resolve; declare function resolve(params: { entity: Connection }): void; diff --git a/types/xmpp__resolve/package.json b/types/xmpp__resolve/package.json index 37e69834cfee1b..632db9ab24b523 100644 --- a/types/xmpp__resolve/package.json +++ b/types/xmpp__resolve/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__resolve", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/resolve" ], diff --git a/types/xmpp__resolve/resolve.d.ts b/types/xmpp__resolve/resolve.d.ts index 158ce7d6edf670..745815ec1c8337 100644 --- a/types/xmpp__resolve/resolve.d.ts +++ b/types/xmpp__resolve/resolve.d.ts @@ -1,7 +1,7 @@ -import * as dnsResolver from "./lib/dns"; -import * as httpResolver from "./lib/http"; +import * as dnsResolver from "./lib/dns.js"; +import * as httpResolver from "./lib/http.js"; -export = resolve; +export default resolve; declare function resolve( domain: string, diff --git a/types/xmpp__resolve/tsconfig.json b/types/xmpp__resolve/tsconfig.json index f64485a77a8566..12545d8ae9541a 100644 --- a/types/xmpp__resolve/tsconfig.json +++ b/types/xmpp__resolve/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__resolve/xmpp__resolve-tests.ts b/types/xmpp__resolve/xmpp__resolve-tests.ts index 63734b9b73b5a3..3941ec11f518e7 100644 --- a/types/xmpp__resolve/xmpp__resolve-tests.ts +++ b/types/xmpp__resolve/xmpp__resolve-tests.ts @@ -1,7 +1,7 @@ -import Connection = require("@xmpp/connection"); -import registerResolve = require("@xmpp/resolve"); -import resolve = require("@xmpp/resolve/resolve"); -import { compare } from "@xmpp/resolve/lib/alt-connections"; +import Connection from "@xmpp/connection"; +import registerResolve from "@xmpp/resolve"; +import { compare } from "@xmpp/resolve/lib/alt-connections.js"; +import resolve from "@xmpp/resolve/resolve.js"; import { Element } from "@xmpp/xml"; // test type exports diff --git a/types/xmpp__resource-binding/index.d.ts b/types/xmpp__resource-binding/index.d.ts index 1cbdb765d65d03..bcff6af98152b6 100644 --- a/types/xmpp__resource-binding/index.d.ts +++ b/types/xmpp__resource-binding/index.d.ts @@ -1,9 +1,9 @@ -import { IQCaller } from "@xmpp/iq/caller"; +import { IQCaller } from "@xmpp/iq/caller.js"; import { Entity } from "@xmpp/middleware"; import { StreamFeatures } from "@xmpp/stream-features"; import { Node } from "@xmpp/xml"; -export = resourceBinding; +export default resourceBinding; /** * Resource binding for `@xmpp/client`. @@ -18,10 +18,8 @@ declare function resourceBinding( streamFeatures: StreamFeatures; iqCaller: IQCaller; }, - resource?: resourceBinding.Resource, + resource?: Resource, ): void; -declare namespace resourceBinding { - type Resource = ResourceFn | Node; - type ResourceFn = (bind: (resource: Node) => Promise) => Promise; -} +export type Resource = ResourceFn | Node; +export type ResourceFn = (bind: (resource: Node) => Promise) => Promise; diff --git a/types/xmpp__resource-binding/package.json b/types/xmpp__resource-binding/package.json index f784a5165debf9..cc363407ee39cc 100644 --- a/types/xmpp__resource-binding/package.json +++ b/types/xmpp__resource-binding/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__resource-binding", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/resource-binding" ], diff --git a/types/xmpp__resource-binding/tsconfig.json b/types/xmpp__resource-binding/tsconfig.json index f3f2c786f0fddd..6ef8a5dba14276 100644 --- a/types/xmpp__resource-binding/tsconfig.json +++ b/types/xmpp__resource-binding/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__resource-binding/xmpp__resource-binding-tests.ts b/types/xmpp__resource-binding/xmpp__resource-binding-tests.ts index 3cab6a2647d474..f60bf613e2d048 100644 --- a/types/xmpp__resource-binding/xmpp__resource-binding-tests.ts +++ b/types/xmpp__resource-binding/xmpp__resource-binding-tests.ts @@ -1,15 +1,11 @@ -import Connection = require("@xmpp/connection"); -import iqCaller = require("@xmpp/iq/caller"); -import middleware = require("@xmpp/middleware"); -import resourceBinding = require("@xmpp/resource-binding"); -import streamFeatures = require("@xmpp/stream-features"); +import Connection from "@xmpp/connection"; +import iqCaller from "@xmpp/iq/caller.js"; +import middleware, { Entity } from "@xmpp/middleware"; +import resourceBinding from "@xmpp/resource-binding"; +import streamFeatures from "@xmpp/stream-features"; import { Element } from "@xmpp/xml"; -// test type exports -type Resource = resourceBinding.Resource; -type ResourceFn = resourceBinding.ResourceFn; - -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; diff --git a/types/xmpp__sasl-anonymous/index.d.ts b/types/xmpp__sasl-anonymous/index.d.ts index 4bbba4c87e85f7..9d69f9119b8ae4 100644 --- a/types/xmpp__sasl-anonymous/index.d.ts +++ b/types/xmpp__sasl-anonymous/index.d.ts @@ -1,5 +1,5 @@ import { SASL } from "@xmpp/sasl"; -export = saslAnonymous; +export default saslAnonymous; declare function saslAnonymous(sasl: SASL): void; diff --git a/types/xmpp__sasl-anonymous/package.json b/types/xmpp__sasl-anonymous/package.json index f8714a724a77be..bbb51c501b210c 100644 --- a/types/xmpp__sasl-anonymous/package.json +++ b/types/xmpp__sasl-anonymous/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__sasl-anonymous", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/sasl-anonymous" ], diff --git a/types/xmpp__sasl-anonymous/tsconfig.json b/types/xmpp__sasl-anonymous/tsconfig.json index 5821bfbc5cf805..c504e6220f61c0 100644 --- a/types/xmpp__sasl-anonymous/tsconfig.json +++ b/types/xmpp__sasl-anonymous/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__sasl-anonymous/xmpp__sasl-anonymous-tests.ts b/types/xmpp__sasl-anonymous/xmpp__sasl-anonymous-tests.ts index 3f1a51e16c4097..82f69111cd66d6 100644 --- a/types/xmpp__sasl-anonymous/xmpp__sasl-anonymous-tests.ts +++ b/types/xmpp__sasl-anonymous/xmpp__sasl-anonymous-tests.ts @@ -1,4 +1,4 @@ import { SASL } from "@xmpp/sasl"; -import saslAnonymous = require("@xmpp/sasl-anonymous"); +import saslAnonymous from "@xmpp/sasl-anonymous"; saslAnonymous(null as any as SASL); // $ExpectType void diff --git a/types/xmpp__sasl-ht-sha-256-none/.npmignore b/types/xmpp__sasl-ht-sha-256-none/.npmignore new file mode 100644 index 00000000000000..93e307400a5456 --- /dev/null +++ b/types/xmpp__sasl-ht-sha-256-none/.npmignore @@ -0,0 +1,5 @@ +* +!**/*.d.ts +!**/*.d.cts +!**/*.d.mts +!**/*.d.*.ts diff --git a/types/xmpp__sasl-ht-sha-256-none/index.d.ts b/types/xmpp__sasl-ht-sha-256-none/index.d.ts new file mode 100644 index 00000000000000..9dc8a0959993b1 --- /dev/null +++ b/types/xmpp__sasl-ht-sha-256-none/index.d.ts @@ -0,0 +1,8 @@ +import SASLFactory = require("saslmechanisms"); +import { SASL } from "@xmpp/sasl"; + +declare const Mechanism: SASLFactory.MechanismStatic; + +export { Mechanism }; + +export default function saslHashedToken(sasl: SASL): void; diff --git a/types/xmpp__sasl-ht-sha-256-none/package.json b/types/xmpp__sasl-ht-sha-256-none/package.json new file mode 100644 index 00000000000000..36b8ee12fca82e --- /dev/null +++ b/types/xmpp__sasl-ht-sha-256-none/package.json @@ -0,0 +1,22 @@ +{ + "private": true, + "name": "@types/xmpp__sasl-ht-sha-256-none", + "version": "0.14.9999", + "type": "module", + "projects": [ + "https://github.com/xmppjs/xmpp.js/tree/main/packages/sasl-ht-sha-256-none" + ], + "dependencies": { + "@types/saslmechanisms": "*", + "@types/xmpp__sasl": "*" + }, + "devDependencies": { + "@types/xmpp__sasl-ht-sha-256-none": "workspace:." + }, + "owners": [ + { + "name": "Colin Reeder", + "githubUsername": "vpzomtrrfrt" + } + ] +} diff --git a/types/xmpp__sasl-ht-sha-256-none/tsconfig.json b/types/xmpp__sasl-ht-sha-256-none/tsconfig.json new file mode 100644 index 00000000000000..bb63b07f6bb182 --- /dev/null +++ b/types/xmpp__sasl-ht-sha-256-none/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "node16", + "target": "es6", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "xmpp__sasl-ht-sha-256-none-tests.ts" + ] +} diff --git a/types/xmpp__sasl-ht-sha-256-none/xmpp__sasl-ht-sha-256-none-tests.ts b/types/xmpp__sasl-ht-sha-256-none/xmpp__sasl-ht-sha-256-none-tests.ts new file mode 100644 index 00000000000000..f48df17a04ba56 --- /dev/null +++ b/types/xmpp__sasl-ht-sha-256-none/xmpp__sasl-ht-sha-256-none-tests.ts @@ -0,0 +1,7 @@ +import saslHashedToken, { Mechanism } from "@xmpp/sasl-ht-sha-256-none"; +import SASLFactory = require("saslmechanisms"); + +const saslFactory = new SASLFactory(); + +saslHashedToken(saslFactory); // $ExpectType void +saslFactory.use(Mechanism); diff --git a/types/xmpp__sasl-plain/index.d.ts b/types/xmpp__sasl-plain/index.d.ts index 5d3015cca76668..f6b835038e797e 100644 --- a/types/xmpp__sasl-plain/index.d.ts +++ b/types/xmpp__sasl-plain/index.d.ts @@ -1,5 +1,5 @@ import { SASL } from "@xmpp/sasl"; -export = saslPlain; +export default saslPlain; declare function saslPlain(sasl: SASL): void; diff --git a/types/xmpp__sasl-plain/package.json b/types/xmpp__sasl-plain/package.json index 71bba900218123..e8daad0a486cf2 100644 --- a/types/xmpp__sasl-plain/package.json +++ b/types/xmpp__sasl-plain/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__sasl-plain", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/sasl-plain" ], diff --git a/types/xmpp__sasl-plain/tsconfig.json b/types/xmpp__sasl-plain/tsconfig.json index ee687267ae029e..26e0e3ade3445a 100644 --- a/types/xmpp__sasl-plain/tsconfig.json +++ b/types/xmpp__sasl-plain/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__sasl-plain/xmpp__sasl-plain-tests.ts b/types/xmpp__sasl-plain/xmpp__sasl-plain-tests.ts index 49875c7d0dc51c..cc2beb79dd303a 100644 --- a/types/xmpp__sasl-plain/xmpp__sasl-plain-tests.ts +++ b/types/xmpp__sasl-plain/xmpp__sasl-plain-tests.ts @@ -1,4 +1,4 @@ import { SASL } from "@xmpp/sasl"; -import saslPlain = require("@xmpp/sasl-plain"); +import saslPlain from "@xmpp/sasl-plain"; saslPlain(null as any as SASL); // $ExpectType void diff --git a/types/xmpp__sasl-scram-sha-1/index.d.ts b/types/xmpp__sasl-scram-sha-1/index.d.ts index 6f56fb5bed7d2a..2b354c4194a1bf 100644 --- a/types/xmpp__sasl-scram-sha-1/index.d.ts +++ b/types/xmpp__sasl-scram-sha-1/index.d.ts @@ -1,5 +1,5 @@ import { SASL } from "@xmpp/sasl"; -export = saslScramSha1; +export default saslScramSha1; declare function saslScramSha1(sasl: SASL): void; diff --git a/types/xmpp__sasl-scram-sha-1/package.json b/types/xmpp__sasl-scram-sha-1/package.json index 8bdf388cba7cf2..4ab1b10a1c730d 100644 --- a/types/xmpp__sasl-scram-sha-1/package.json +++ b/types/xmpp__sasl-scram-sha-1/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__sasl-scram-sha-1", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/sasl-scram-sha-1" ], diff --git a/types/xmpp__sasl-scram-sha-1/tsconfig.json b/types/xmpp__sasl-scram-sha-1/tsconfig.json index fbb7e97b02db6a..923cad01b314a9 100644 --- a/types/xmpp__sasl-scram-sha-1/tsconfig.json +++ b/types/xmpp__sasl-scram-sha-1/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__sasl-scram-sha-1/xmpp__sasl-scram-sha-1-tests.ts b/types/xmpp__sasl-scram-sha-1/xmpp__sasl-scram-sha-1-tests.ts index c7af41b285d413..8154c0e4ecf698 100644 --- a/types/xmpp__sasl-scram-sha-1/xmpp__sasl-scram-sha-1-tests.ts +++ b/types/xmpp__sasl-scram-sha-1/xmpp__sasl-scram-sha-1-tests.ts @@ -1,4 +1,4 @@ import { SASL } from "@xmpp/sasl"; -import saslScramSha1 = require("@xmpp/sasl-scram-sha-1"); +import saslScramSha1 from "@xmpp/sasl-scram-sha-1"; saslScramSha1(null as any as SASL); // $ExpectType void diff --git a/types/xmpp__sasl/index.d.ts b/types/xmpp__sasl/index.d.ts index 246d9afdbb92db..ddb1df20cf7651 100644 --- a/types/xmpp__sasl/index.d.ts +++ b/types/xmpp__sasl/index.d.ts @@ -1,34 +1,36 @@ import { Entity } from "@xmpp/middleware"; -import streamFeatures = require("@xmpp/stream-features"); +import streamFeatures, { StreamFeatures } from "@xmpp/stream-features"; +import { Element } from "@xmpp/xml"; import SASLFactory = require("saslmechanisms"); -export = sasl; +export default sasl; // eslint-disable-next-line @definitelytyped/no-unnecessary-generics declare function sasl( { streamFeatures, }: { - streamFeatures: streamFeatures.StreamFeatures; + streamFeatures: StreamFeatures; + saslFactory: SASLFactory; }, - credentials: sasl.Credentials, -): sasl.SASL; + credentials: Credentials, +): SASL; -declare namespace sasl { - type Credentials = Partial | CredentialsFactory; +export type Credentials = Partial | CredentialsFactory; - interface CredentialsObj { - username: string; - password: string; - } +export interface CredentialsObj { + username: string; + password: string; +} - type CredentialsFactory = ( - callback: (credentials: CredentialsObj) => Promise, - mechanism: string, - ) => Promise; +export type CredentialsFactory = ( + callback: (credentials: CredentialsObj) => Promise, + mechanism: string, +) => Promise; - interface SASL { - use(name: string, mechanism: SASLFactory.MechanismStatic): SASLFactory; - use(mechanism: SASLFactory.MechanismStatic): SASLFactory; - } +export interface SASL { + use(name: string, mechanism: SASLFactory.MechanismStatic): SASLFactory; + use(mechanism: SASLFactory.MechanismStatic): SASLFactory; } + +export function getAvailableMechanisms(element: Element, NS: string, saslFactory: SASLFactory): string[]; diff --git a/types/xmpp__sasl/lib/SASLError.d.ts b/types/xmpp__sasl/lib/SASLError.d.ts index f8b6586b13b13d..e55c68f3a39e8f 100644 --- a/types/xmpp__sasl/lib/SASLError.d.ts +++ b/types/xmpp__sasl/lib/SASLError.d.ts @@ -1,5 +1,5 @@ -import XMPPError = require("@xmpp/error"); +import XMPPError from "@xmpp/error"; -export = SASLError; +export default SASLError; declare class SASLError extends XMPPError<"SASLError"> {} diff --git a/types/xmpp__sasl/package.json b/types/xmpp__sasl/package.json index b2ed1d9751bf83..e8d19aa72ecf96 100644 --- a/types/xmpp__sasl/package.json +++ b/types/xmpp__sasl/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__sasl", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/sasl" ], @@ -9,15 +10,15 @@ "@types/saslmechanisms": "*", "@types/xmpp__error": "*", "@types/xmpp__middleware": "*", - "@types/xmpp__stream-features": "*" + "@types/xmpp__stream-features": "*", + "@types/xmpp__xml": "*" }, "devDependencies": { "@types/sasl-anonymous": "*", "@types/sasl-plain": "*", "@types/sasl-scram-sha-1": "*", "@types/xmpp__connection": "*", - "@types/xmpp__sasl": "workspace:.", - "@types/xmpp__xml": "*" + "@types/xmpp__sasl": "workspace:." }, "owners": [ { diff --git a/types/xmpp__sasl/tsconfig.json b/types/xmpp__sasl/tsconfig.json index 5bfadde12e2101..cfbf7a8662c836 100644 --- a/types/xmpp__sasl/tsconfig.json +++ b/types/xmpp__sasl/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__sasl/xmpp__sasl-tests.ts b/types/xmpp__sasl/xmpp__sasl-tests.ts index 2e2305d35b441a..50363adc47345a 100644 --- a/types/xmpp__sasl/xmpp__sasl-tests.ts +++ b/types/xmpp__sasl/xmpp__sasl-tests.ts @@ -1,23 +1,16 @@ -import Connection = require("@xmpp/connection"); -import XMPPError = require("@xmpp/error"); -import middleware = require("@xmpp/middleware"); -import sasl = require("@xmpp/sasl"); -import SASLError = require("@xmpp/sasl/lib/SASLError"); -import streamFeatures = require("@xmpp/stream-features"); +import Connection from "@xmpp/connection"; +import XMPPError from "@xmpp/error"; +import middleware, { Entity } from "@xmpp/middleware"; +import sasl from "@xmpp/sasl"; +import SASLError from "@xmpp/sasl/lib/SASLError.js"; +import streamFeatures from "@xmpp/stream-features"; import { Element } from "@xmpp/xml"; -import SASLFactory = require("saslmechanisms"); -import SASLAnonymous = require("sasl-anonymous"); -import SASLPlain = require("sasl-plain"); -import SASLScramSha1 = require("sasl-scram-sha-1"); +import SASLAnonymous from "sasl-anonymous"; +import SASLPlain from "sasl-plain"; +import SASLScramSha1 from "sasl-scram-sha-1"; +import SASLFactory from "saslmechanisms"; -// test type exports -type Credentials = sasl.Credentials; -type CredentialsObj = sasl.CredentialsObj; -type CredentialsFactory = sasl.CredentialsFactory; -type SASL = sasl.SASL; -type Err = SASLError; - -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; @@ -33,11 +26,13 @@ class Foo extends Connection implements middleware.Entity { const mw = middleware({ entity: new Foo({ service: "foo", domain: "foo.bar" }) }); const sf = streamFeatures({ middleware: mw }); -const saslMw = sasl({ streamFeatures: sf }, {}); // $ExpectType SASL -sasl({ streamFeatures: sf }, { username: "foo" }); // $ExpectType SASL -sasl({ streamFeatures: sf }, { password: "foo" }); // $ExpectType SASL +const saslFactory = new SASLFactory(); + +const saslMw = sasl({ streamFeatures: sf, saslFactory }, {}); // $ExpectType SASL +sasl({ streamFeatures: sf, saslFactory }, { username: "foo" }); // $ExpectType SASL +sasl({ streamFeatures: sf, saslFactory }, { password: "foo" }); // $ExpectType SASL // $ExpectType SASL -sasl({ streamFeatures: sf }, async (cb, mech) => { +sasl({ streamFeatures: sf, saslFactory }, async (cb, mech) => { cb; // $ExpectType (credentials: CredentialsObj) => Promise mech; // $ExpectType string diff --git a/types/xmpp__sasl2/.npmignore b/types/xmpp__sasl2/.npmignore new file mode 100644 index 00000000000000..93e307400a5456 --- /dev/null +++ b/types/xmpp__sasl2/.npmignore @@ -0,0 +1,5 @@ +* +!**/*.d.ts +!**/*.d.cts +!**/*.d.mts +!**/*.d.*.ts diff --git a/types/xmpp__sasl2/index.d.ts b/types/xmpp__sasl2/index.d.ts new file mode 100644 index 00000000000000..f937780df6fe4f --- /dev/null +++ b/types/xmpp__sasl2/index.d.ts @@ -0,0 +1,28 @@ +import { FAST } from "@xmpp/client-core/src/fast/fast.js"; +import { Entity } from "@xmpp/middleware"; +import { StreamFeatures } from "@xmpp/stream-features"; +import { Element } from "@xmpp/xml"; +import SASLFactory = require("saslmechanisms"); + +// eslint-disable-next-line @definitelytyped/no-unnecessary-generics +export default function sasl2( + params: { streamFeatures: StreamFeatures; saslFactory: SASLFactory }, + onAuthenticate: CredentialsFactory, +): SASL2; + +export interface SASL2 { + use(ns: string, req: (element: Element) => Promise, res: (element: Element) => Promise): void; + setup(params: { fast: FAST }): void; +} + +export type CredentialsFactory = ( + callback: (credentials: CredentialsObj, mechanism: string, userAgent: string) => Promise, + mechanisms: string[], + fast: FAST | null, + entity: Entity, +) => Promise; + +export interface CredentialsObj { + username: string; + password: string; +} diff --git a/types/xmpp__sasl2/package.json b/types/xmpp__sasl2/package.json new file mode 100644 index 00000000000000..c4accfbcc2e4fe --- /dev/null +++ b/types/xmpp__sasl2/package.json @@ -0,0 +1,26 @@ +{ + "private": true, + "name": "@types/xmpp__sasl2", + "version": "0.14.9999", + "type": "module", + "projects": [ + "https://github.com/xmppjs/xmpp.js/tree/main/packages/sasl2" + ], + "dependencies": { + "@types/saslmechanisms": "*", + "@types/xmpp__client-core": "*", + "@types/xmpp__middleware": "*", + "@types/xmpp__stream-features": "*", + "@types/xmpp__xml": "*" + }, + "devDependencies": { + "@types/xmpp__connection": "*", + "@types/xmpp__sasl2": "workspace:." + }, + "owners": [ + { + "name": "Colin Reeder", + "githubUsername": "vpzomtrrfrt" + } + ] +} diff --git a/types/xmpp__sasl2/tsconfig.json b/types/xmpp__sasl2/tsconfig.json new file mode 100644 index 00000000000000..4ce580311e4fd3 --- /dev/null +++ b/types/xmpp__sasl2/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "node16", + "target": "es6", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "xmpp__sasl2-tests.ts" + ] +} diff --git a/types/xmpp__sasl2/xmpp__sasl2-tests.ts b/types/xmpp__sasl2/xmpp__sasl2-tests.ts new file mode 100644 index 00000000000000..5762ffc2eb811f --- /dev/null +++ b/types/xmpp__sasl2/xmpp__sasl2-tests.ts @@ -0,0 +1,38 @@ +import Connection from "@xmpp/connection"; +import middleware, { Entity } from "@xmpp/middleware"; +import sasl2, { CredentialsFactory, SASL2 } from "@xmpp/sasl2"; +import streamFeatures from "@xmpp/stream-features"; +import { Element } from "@xmpp/xml"; +import SASLFactory = require("saslmechanisms"); + +class Foo extends Connection implements Entity { + domain?: string; + hookOutgoing?: (stanza: Element) => Promise; + + headerElement() { + return new Element("foo"); + } + + socketParameters(service: string) { + return null; + } +} + +const mw = middleware({ entity: new Foo({ service: "foo", domain: "foo.bar" }) }); +const sf = streamFeatures({ middleware: mw }); + +const saslFactory = new SASLFactory(); + +const onAuthenticate = null as unknown as CredentialsFactory; + +const saslMw = sasl2({ streamFeatures: sf, saslFactory }, onAuthenticate); // $ExpectType SASL2 + +saslMw.use( + "foo", + async element => { + element; // $ExpectType Element + }, + async element => { + element; // $ExpectType Element + }, +); diff --git a/types/xmpp__session-establishment/index.d.ts b/types/xmpp__session-establishment/index.d.ts index 019ccd3ee2f81e..e9a21baa22ed34 100644 --- a/types/xmpp__session-establishment/index.d.ts +++ b/types/xmpp__session-establishment/index.d.ts @@ -1,8 +1,8 @@ -import { IQCaller } from "@xmpp/iq/caller"; +import { IQCaller } from "@xmpp/iq/caller.js"; import { Entity } from "@xmpp/middleware"; import { StreamFeatures } from "@xmpp/stream-features"; -export = sessionEstablishment; +export default sessionEstablishment; declare function sessionEstablishment({ iqCaller, diff --git a/types/xmpp__session-establishment/package.json b/types/xmpp__session-establishment/package.json index 652a27eb20561f..dd125251aea91b 100644 --- a/types/xmpp__session-establishment/package.json +++ b/types/xmpp__session-establishment/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__session-establishment", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/session-establishment" ], diff --git a/types/xmpp__session-establishment/tsconfig.json b/types/xmpp__session-establishment/tsconfig.json index ae20c47af7448b..268406a4f0fd2f 100644 --- a/types/xmpp__session-establishment/tsconfig.json +++ b/types/xmpp__session-establishment/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__session-establishment/xmpp__session-establishment-tests.ts b/types/xmpp__session-establishment/xmpp__session-establishment-tests.ts index e008fe23ba6715..b2914ad3f7a87d 100644 --- a/types/xmpp__session-establishment/xmpp__session-establishment-tests.ts +++ b/types/xmpp__session-establishment/xmpp__session-establishment-tests.ts @@ -1,11 +1,11 @@ -import Connection = require("@xmpp/connection"); -import iqCaller = require("@xmpp/iq/caller"); -import middleware = require("@xmpp/middleware"); -import sessionEstablishment = require("@xmpp/session-establishment"); -import streamFeatures = require("@xmpp/stream-features"); +import Connection from "@xmpp/connection"; +import iqCaller from "@xmpp/iq/caller.js"; +import middleware, { Entity } from "@xmpp/middleware"; +import sessionEstablishment from "@xmpp/session-establishment"; +import streamFeatures from "@xmpp/stream-features"; import { Element } from "@xmpp/xml"; -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; diff --git a/types/xmpp__starttls/client.d.ts b/types/xmpp__starttls/client.d.ts deleted file mode 100644 index 0180182b6f486b..00000000000000 --- a/types/xmpp__starttls/client.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Entity, IncomingContext } from "@xmpp/middleware"; -import { StreamFeatures } from "@xmpp/stream-features"; -import { Middleware } from "koa-compose"; - -export = starttls; - -/** - * STARTTLS negotiation for `@xmpp/client`. - * - * Included and enabled in `@xmpp/client` for Node.js - * - * STARTTLS will automatically upgrade the TCP connection to TLS upon connection if the server supports it. - */ -declare function starttls({ - streamFeatures, -}: { - streamFeatures: StreamFeatures; -}): Middleware>; diff --git a/types/xmpp__starttls/index.d.ts b/types/xmpp__starttls/index.d.ts index e69de29bb2d1d6..6c216276a4e8c1 100644 --- a/types/xmpp__starttls/index.d.ts +++ b/types/xmpp__starttls/index.d.ts @@ -0,0 +1,18 @@ +import { Entity, IncomingContext } from "@xmpp/middleware"; +import { StreamFeatures } from "@xmpp/stream-features"; +import { Middleware } from "koa-compose"; + +export default starttls; + +/** + * STARTTLS negotiation for `@xmpp/client`. + * + * Included and enabled in `@xmpp/client` for Node.js + * + * STARTTLS will automatically upgrade the TCP connection to TLS upon connection if the server supports it. + */ +declare function starttls({ + streamFeatures, +}: { + streamFeatures: StreamFeatures; +}): Middleware>; diff --git a/types/xmpp__starttls/package.json b/types/xmpp__starttls/package.json index 82b53c53b3e3fa..ab8b6e07eb6f68 100644 --- a/types/xmpp__starttls/package.json +++ b/types/xmpp__starttls/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__starttls", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/starttls" ], diff --git a/types/xmpp__starttls/tsconfig.json b/types/xmpp__starttls/tsconfig.json index cf1d68878364a3..c7ac9f32b61a1a 100644 --- a/types/xmpp__starttls/tsconfig.json +++ b/types/xmpp__starttls/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__starttls/xmpp__starttls-tests.ts b/types/xmpp__starttls/xmpp__starttls-tests.ts index 7e759d117b1e31..f33349abcc4812 100644 --- a/types/xmpp__starttls/xmpp__starttls-tests.ts +++ b/types/xmpp__starttls/xmpp__starttls-tests.ts @@ -1,12 +1,12 @@ -import Connection = require("@xmpp/connection"); -import middleware = require("@xmpp/middleware"); -import starttls = require("@xmpp/starttls/client"); -import { canUpgrade, upgrade } from "@xmpp/starttls/starttls"; -import streamFeatures = require("@xmpp/stream-features"); +import Connection from "@xmpp/connection"; +import middleware, { Entity } from "@xmpp/middleware"; +import starttls from "@xmpp/starttls"; +import { canUpgrade, upgrade } from "@xmpp/starttls/starttls.js"; +import streamFeatures from "@xmpp/stream-features"; import { Element } from "@xmpp/xml"; import * as net from "net"; -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; diff --git a/types/xmpp__stream-features/index.d.ts b/types/xmpp__stream-features/index.d.ts index 38422d9c5c8331..5df0f2e9c1cf85 100644 --- a/types/xmpp__stream-features/index.d.ts +++ b/types/xmpp__stream-features/index.d.ts @@ -3,20 +3,18 @@ import { Element } from "@xmpp/xml"; import Koa = require("koa"); import koaCompose = require("koa-compose"); -export = streamFeatures; +export default streamFeatures; declare function streamFeatures({ middleware, }: { middleware: Middleware; -}): streamFeatures.StreamFeatures; +}): StreamFeatures; -declare namespace streamFeatures { - interface StreamFeatures { - use( - name: string, - xmlns: string | undefined, - handler: (ctx: IncomingContext, next: Koa.Next, feature: Element) => Promise, - ): koaCompose.Middleware>; - } +export interface StreamFeatures { + use( + name: string, + xmlns: string | undefined, + handler: (ctx: IncomingContext, next: Koa.Next, feature: Element) => Promise, + ): koaCompose.Middleware>; } diff --git a/types/xmpp__stream-features/package.json b/types/xmpp__stream-features/package.json index 4f6b4d5271195c..980fc1561d5fcf 100644 --- a/types/xmpp__stream-features/package.json +++ b/types/xmpp__stream-features/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__stream-features", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/stream-features" ], diff --git a/types/xmpp__stream-features/route.d.ts b/types/xmpp__stream-features/route.d.ts deleted file mode 100644 index 1f463e48d14e4d..00000000000000 --- a/types/xmpp__stream-features/route.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Entity, IncomingContext } from "@xmpp/middleware"; -import Koa = require("koa"); - -export = route; - -declare function route(): (context: IncomingContext, next: Koa.Next) => Promise; diff --git a/types/xmpp__stream-features/tsconfig.json b/types/xmpp__stream-features/tsconfig.json index 9f8ba59d21fd45..5f967758ccd926 100644 --- a/types/xmpp__stream-features/tsconfig.json +++ b/types/xmpp__stream-features/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__stream-features/xmpp__stream-features-tests.ts b/types/xmpp__stream-features/xmpp__stream-features-tests.ts index 62ee78d2f81332..d4598b279e8013 100644 --- a/types/xmpp__stream-features/xmpp__stream-features-tests.ts +++ b/types/xmpp__stream-features/xmpp__stream-features-tests.ts @@ -1,13 +1,9 @@ -import Connection = require("@xmpp/connection"); -import middleware = require("@xmpp/middleware"); -import streamFeatures = require("@xmpp/stream-features"); -import route = require("@xmpp/stream-features/route"); +import Connection from "@xmpp/connection"; +import middleware, { Entity } from "@xmpp/middleware"; +import streamFeatures, { StreamFeatures } from "@xmpp/stream-features"; import { Element } from "@xmpp/xml"; -// test type exports -type StreamFeatures = streamFeatures.StreamFeatures; - -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; @@ -38,6 +34,3 @@ sf.use("foo", undefined, (ctx, next, features) => { return Promise.resolve(); }); - -route(); // $ExpectType (context: IncomingContext, next: Next) => Promise -route()(null as any as middleware.IncomingContext, async () => {}); // $ExpectType Promise diff --git a/types/xmpp__stream-management/index.d.ts b/types/xmpp__stream-management/index.d.ts index 64970d724a41da..fc11fa55f23f3b 100644 --- a/types/xmpp__stream-management/index.d.ts +++ b/types/xmpp__stream-management/index.d.ts @@ -1,7 +1,8 @@ import { Entity, Middleware } from "@xmpp/middleware"; import { StreamFeatures } from "@xmpp/stream-features"; +import { Element } from "@xmpp/xml"; -export = streamManagement; +export default streamManagement; /** * [Stream Management](https://xmpp.org/extensions/xep-0198.html) for `@xmpp/client`. @@ -24,16 +25,21 @@ declare function streamManagement({ streamFeatures: StreamFeatures; entity: TEntity; middleware: Middleware; -}): streamManagement.StreamManagement; +}): StreamManagement; -declare namespace streamManagement { - interface StreamManagement { - allowResume: boolean; - preferredMaximum: number | null; - enabled: boolean; - id: string; - outbound: number; - inbound: number; - max: number | null; - } +export interface StreamManagement { + allowResume: boolean; + preferredMaximum: number | null; + enabled: boolean; + id: string; + outbound: number; + inbound: number; + max: number | null; } + +declare const NS: string; + +export function makeEnableElement(params: { sm: StreamManagement }): Element; +export function makeResumeElement(params: { sm: StreamManagement }): Element; + +export { NS }; diff --git a/types/xmpp__stream-management/package.json b/types/xmpp__stream-management/package.json index 73321970f60073..8dcf1072aade18 100644 --- a/types/xmpp__stream-management/package.json +++ b/types/xmpp__stream-management/package.json @@ -1,18 +1,19 @@ { "private": true, "name": "@types/xmpp__stream-management", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/stream-management" ], "dependencies": { "@types/xmpp__middleware": "*", - "@types/xmpp__stream-features": "*" + "@types/xmpp__stream-features": "*", + "@types/xmpp__xml": "*" }, "devDependencies": { "@types/xmpp__connection": "*", - "@types/xmpp__stream-management": "workspace:.", - "@types/xmpp__xml": "*" + "@types/xmpp__stream-management": "workspace:." }, "owners": [ { diff --git a/types/xmpp__stream-management/tsconfig.json b/types/xmpp__stream-management/tsconfig.json index 6242af0120a0d0..62b6372552087a 100644 --- a/types/xmpp__stream-management/tsconfig.json +++ b/types/xmpp__stream-management/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__stream-management/xmpp__stream-management-tests.ts b/types/xmpp__stream-management/xmpp__stream-management-tests.ts index e0a1653b91f5ad..34cff42b9edaba 100644 --- a/types/xmpp__stream-management/xmpp__stream-management-tests.ts +++ b/types/xmpp__stream-management/xmpp__stream-management-tests.ts @@ -1,13 +1,10 @@ -import Connection = require("@xmpp/connection"); -import middleware = require("@xmpp/middleware"); -import streamFeatures = require("@xmpp/stream-features"); -import streamManagement = require("@xmpp/stream-management"); +import Connection from "@xmpp/connection"; +import middleware, { Entity } from "@xmpp/middleware"; +import streamFeatures from "@xmpp/stream-features"; +import streamManagement from "@xmpp/stream-management"; import { Element } from "@xmpp/xml"; -// test type exports -type StreamManagement = streamManagement.StreamManagement; - -class Foo extends Connection implements middleware.Entity { +class Foo extends Connection implements Entity { domain?: string; hookOutgoing?: (stanza: Element) => Promise; diff --git a/types/xmpp__tcp/index.d.ts b/types/xmpp__tcp/index.d.ts index 3cb64fae4556a4..76d8efc8441558 100644 --- a/types/xmpp__tcp/index.d.ts +++ b/types/xmpp__tcp/index.d.ts @@ -1,11 +1,9 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; -export = tcp; +export default tcp; -declare function tcp({ entity }: { entity: tcp.Entity }): void; +declare function tcp({ entity }: { entity: Entity }): void; -declare namespace tcp { - interface Entity { - transports: Array; - } +export interface Entity { + transports: Array; } diff --git a/types/xmpp__tcp/lib/Connection.d.ts b/types/xmpp__tcp/lib/Connection.d.ts index 47a530faf05150..79c36e99a79dbe 100644 --- a/types/xmpp__tcp/lib/Connection.d.ts +++ b/types/xmpp__tcp/lib/Connection.d.ts @@ -1,5 +1,5 @@ -import Connection = require("@xmpp/connection-tcp"); +import Connection from "@xmpp/connection-tcp"; -export = ConnectionTCP; +export default ConnectionTCP; declare class ConnectionTCP extends Connection {} diff --git a/types/xmpp__tcp/package.json b/types/xmpp__tcp/package.json index d0375778e7bced..9ab7df39cc8547 100644 --- a/types/xmpp__tcp/package.json +++ b/types/xmpp__tcp/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__tcp", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/tcp" ], diff --git a/types/xmpp__tcp/tsconfig.json b/types/xmpp__tcp/tsconfig.json index cec6e295b41147..6c5a8178da2e75 100644 --- a/types/xmpp__tcp/tsconfig.json +++ b/types/xmpp__tcp/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__tcp/xmpp__tcp-tests.ts b/types/xmpp__tcp/xmpp__tcp-tests.ts index d038546e9129a6..b9ab3573e6bf6f 100644 --- a/types/xmpp__tcp/xmpp__tcp-tests.ts +++ b/types/xmpp__tcp/xmpp__tcp-tests.ts @@ -1,11 +1,7 @@ -import Connection = require("@xmpp/connection"); -import ConnectionConnTCP = require("@xmpp/connection-tcp"); -import tcp = require("@xmpp/tcp"); -import ConnectionTCP = require("@xmpp/tcp/lib/Connection"); - -// test type exports -type Entity = tcp.Entity; -type Conn = ConnectionTCP; +import Connection from "@xmpp/connection"; +import ConnectionConnTCP from "@xmpp/connection-tcp"; +import tcp from "@xmpp/tcp"; +import ConnectionTCP from "@xmpp/tcp/lib/Connection.js"; const conn = new ConnectionTCP({ domain: "foo", service: "bar" }); const connTcp: ConnectionConnTCP = conn; diff --git a/types/xmpp__time/package.json b/types/xmpp__time/package.json index e461dfc9c3fd85..cf8f588da830d1 100644 --- a/types/xmpp__time/package.json +++ b/types/xmpp__time/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__time", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/time" ], diff --git a/types/xmpp__time/tsconfig.json b/types/xmpp__time/tsconfig.json index becda0352b7f8c..2283553b20afb8 100644 --- a/types/xmpp__time/tsconfig.json +++ b/types/xmpp__time/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__tls/index.d.ts b/types/xmpp__tls/index.d.ts index 2dc3483ac38f18..b4be49ba3df1d5 100644 --- a/types/xmpp__tls/index.d.ts +++ b/types/xmpp__tls/index.d.ts @@ -1,11 +1,9 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; -export = tls; +export default tls; -declare function tls({ entity }: { entity: tls.Entity }): void; +declare function tls({ entity }: { entity: Entity }): void; -declare namespace tls { - interface Entity { - transports: Array; - } +export interface Entity { + transports: Array; } diff --git a/types/xmpp__tls/lib/Connection.d.ts b/types/xmpp__tls/lib/Connection.d.ts index 4223b918dcbb95..586fde58a09438 100644 --- a/types/xmpp__tls/lib/Connection.d.ts +++ b/types/xmpp__tls/lib/Connection.d.ts @@ -1,21 +1,19 @@ -import Connection = require("@xmpp/connection"); -import ConnectionTCP = require("@xmpp/connection-tcp"); -import Socket = require("./Socket"); +import Connection from "@xmpp/connection"; +import ConnectionTCP, { SocketConstructor as ConnectionTCPSocketConstructor } from "@xmpp/connection-tcp"; +import Socket from "./Socket.js"; -export = ConnectionTLS; +export default ConnectionTLS; declare class ConnectionTLS extends ConnectionTCP { - Socket: ConnectionTCP.SocketConstructor; - socketParameters(service: string): ConnectionTLS.SocketParameters | undefined; + Socket: ConnectionTCPSocketConstructor; + socketParameters(service: string): SocketParameters | undefined; } -declare namespace ConnectionTLS { - interface SocketParameters { - port: number; - host: string; - } +export interface SocketParameters { + port: number; + host: string; +} - interface SocketConstructor extends Connection.SocketConstructor { - new(): Socket; - } +export interface SocketConstructor extends ConnectionTCPSocketConstructor { + new(): Socket; } diff --git a/types/xmpp__tls/lib/Socket.d.ts b/types/xmpp__tls/lib/Socket.d.ts index a1512a93520999..9fc952c27fd1b1 100644 --- a/types/xmpp__tls/lib/Socket.d.ts +++ b/types/xmpp__tls/lib/Socket.d.ts @@ -2,40 +2,39 @@ import { SocketBase } from "@xmpp/connection"; import { EventEmitter } from "events"; import { ConnectionOptions, TLSSocket } from "tls"; -export = Socket; +export default Socket; declare class Socket extends EventEmitter implements SocketBase { timeout: NodeJS.Timeout | null; - socket?: TLSSocket; + socket?: TLSSocket | null; + secure: boolean; connect(opts: ConnectionOptions): void; end(): void; write(buffer: Uint8Array | string, cb?: (err?: Error) => void): void; - addListener(event: TEvent, listener: Socket.Events[TEvent]): this; + addListener(event: TEvent, listener: Events[TEvent]): this; addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on(event: TEvent, listener: Socket.Events[TEvent]): this; + on(event: TEvent, listener: Events[TEvent]): this; on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: TEvent, listener: Socket.Events[TEvent]): this; + once(event: TEvent, listener: Events[TEvent]): this; once(event: string | symbol, listener: (...args: any[]) => void): this; - prependListener(event: TEvent, listener: Socket.Events[TEvent]): this; + prependListener(event: TEvent, listener: Events[TEvent]): this; prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: TEvent, listener: Socket.Events[TEvent]): this; + prependOnceListener(event: TEvent, listener: Events[TEvent]): this; prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - emit(event: TEvent, ...args: Parameters): boolean; + emit(event: TEvent, ...args: Parameters): boolean; emit(event: string | symbol, ...args: any[]): boolean; } -declare namespace Socket { - interface Events { - close: () => void; - data: (data: Buffer) => void; - error: (err: Error) => void; - connect: () => void; - } +export interface Events { + close: () => void; + data: (data: Buffer) => void; + error: (err: Error) => void; + connect: () => void; } diff --git a/types/xmpp__tls/package.json b/types/xmpp__tls/package.json index ccf02d12ff949b..3884e58a31d9af 100644 --- a/types/xmpp__tls/package.json +++ b/types/xmpp__tls/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__tls", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/tls" ], diff --git a/types/xmpp__tls/tsconfig.json b/types/xmpp__tls/tsconfig.json index 4279e83b9d85ba..d922639881b6f4 100644 --- a/types/xmpp__tls/tsconfig.json +++ b/types/xmpp__tls/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__tls/xmpp__tls-tests.ts b/types/xmpp__tls/xmpp__tls-tests.ts index 938cfb9b84bdea..07b77ea540df39 100644 --- a/types/xmpp__tls/xmpp__tls-tests.ts +++ b/types/xmpp__tls/xmpp__tls-tests.ts @@ -1,20 +1,12 @@ -import Connection = require("@xmpp/connection"); -import ConnectionTCP = require("@xmpp/connection-tcp"); -import tls = require("@xmpp/tls"); -import ConnectionTLS = require("@xmpp/tls/lib/Connection"); -import Socket = require("@xmpp/tls/lib/Socket"); - -// test type exports -type Entity = tls.Entity; -type Conn = ConnectionTLS; -type SockParams = ConnectionTLS.SocketParameters; -type SockCtor = ConnectionTLS.SocketConstructor; -type Sock = Socket; -type SockEvents = Socket.Events; +import Connection from "@xmpp/connection"; +import ConnectionTCP from "@xmpp/connection-tcp"; +import tls from "@xmpp/tls"; +import ConnectionTLS from "@xmpp/tls/lib/Connection.js"; +import Socket from "@xmpp/tls/lib/Socket.js"; const sock = new Socket(); sock.timeout; // $ExpectType Timeout | null -sock.socket; // $ExpectType TLSSocket | undefined +sock.socket; // $ExpectType TLSSocket | null | undefined sock.connect({ host: "foo" }); // $ExpectType void sock.end(); // $ExpectType void sock.write(new Uint8Array(10)); diff --git a/types/xmpp__uri/package.json b/types/xmpp__uri/package.json index 6610c42cc2fedf..1dff0edc9c447c 100644 --- a/types/xmpp__uri/package.json +++ b/types/xmpp__uri/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__uri", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/uri" ], diff --git a/types/xmpp__uri/tsconfig.json b/types/xmpp__uri/tsconfig.json index c42f8a788388a1..31adea6d3e4e81 100644 --- a/types/xmpp__uri/tsconfig.json +++ b/types/xmpp__uri/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__websocket/index.d.ts b/types/xmpp__websocket/index.d.ts index 861c112e5bc417..f0508d0752386f 100644 --- a/types/xmpp__websocket/index.d.ts +++ b/types/xmpp__websocket/index.d.ts @@ -1,16 +1,14 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; -export = websocket; +export default websocket; /** * WebSocket transport for `@xmpp/client`. * * Included and enabled in `@xmpp/client`. */ -declare function websocket({ entity }: { entity: websocket.Entity }): void; +declare function websocket({ entity }: { entity: Entity }): void; -declare namespace websocket { - interface Entity { - transports: Array; - } +export interface Entity { + transports: Array; } diff --git a/types/xmpp__websocket/lib/Connection.d.ts b/types/xmpp__websocket/lib/Connection.d.ts index fde36bc136ef91..170cbefc485e13 100644 --- a/types/xmpp__websocket/lib/Connection.d.ts +++ b/types/xmpp__websocket/lib/Connection.d.ts @@ -1,9 +1,9 @@ -import Connection = require("@xmpp/connection"); +import Connection from "@xmpp/connection"; import { Element } from "@xmpp/xml"; -import FramedParser = require("./FramedParser"); -import Socket = require("./Socket"); +import FramedParser from "./FramedParser.js"; +import Socket from "./Socket.js"; -export = ConnectionWebSocket; +export default ConnectionWebSocket; declare class ConnectionWebSocket extends Connection { sendMany(elements: Iterable): Promise; diff --git a/types/xmpp__websocket/lib/FramedParser.d.ts b/types/xmpp__websocket/lib/FramedParser.d.ts index 4f6477a6d45075..c1afcfb404482a 100644 --- a/types/xmpp__websocket/lib/FramedParser.d.ts +++ b/types/xmpp__websocket/lib/FramedParser.d.ts @@ -1,5 +1,5 @@ import { Parser } from "@xmpp/xml"; -export = FramedParser; +export default FramedParser; declare class FramedParser extends Parser {} diff --git a/types/xmpp__websocket/lib/Socket.d.ts b/types/xmpp__websocket/lib/Socket.d.ts index ca8a81d10d1af3..0bb08f93d6a1cc 100644 --- a/types/xmpp__websocket/lib/Socket.d.ts +++ b/types/xmpp__websocket/lib/Socket.d.ts @@ -1,13 +1,13 @@ import { SocketBase } from "@xmpp/connection"; import { EventEmitter } from "events"; import { URL } from "url"; -import WebSocket = require("ws"); -export = Socket; +export default Socket; declare class Socket extends EventEmitter implements SocketBase { - url?: string | URL; - socket?: WebSocket; + url: string | URL | null; + socket: WebSocket | null; + secure: boolean; constructor(); @@ -36,16 +36,18 @@ declare class Socket extends EventEmitter implements SocketBase { declare namespace Socket { interface Events { - close: (hadError: boolean, event: WebSocket.CloseEvent) => void; + close: (hadError: boolean, event: CloseEvent) => void; connect: () => void; - data: (data: WebSocket.Data) => void; + data: (data: unknown) => void; error: (err: WebSocketError) => void; } interface WebSocketError extends Error { readonly errno?: "ECONNERROR"; readonly code?: "ECONNERROR"; - readonly event: WebSocket.ErrorEvent; + readonly event: Event; readonly url: string | URL; } } + +export function isSecure(url: string): boolean; diff --git a/types/xmpp__websocket/package.json b/types/xmpp__websocket/package.json index fcd852f337d473..934f999c5ce50d 100644 --- a/types/xmpp__websocket/package.json +++ b/types/xmpp__websocket/package.json @@ -1,12 +1,12 @@ { "private": true, "name": "@types/xmpp__websocket", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/websocket" ], "dependencies": { - "@types/ws": "*", "@types/xmpp__connection": "*", "@types/xmpp__xml": "*" }, diff --git a/types/xmpp__websocket/tsconfig.json b/types/xmpp__websocket/tsconfig.json index 54b74ecef2390b..ddf8fe5c70054b 100644 --- a/types/xmpp__websocket/tsconfig.json +++ b/types/xmpp__websocket/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__websocket/xmpp__websocket-tests.ts b/types/xmpp__websocket/xmpp__websocket-tests.ts index b9cae56f15ee8f..6af7239c8eccd8 100644 --- a/types/xmpp__websocket/xmpp__websocket-tests.ts +++ b/types/xmpp__websocket/xmpp__websocket-tests.ts @@ -1,22 +1,20 @@ -import Connection = require("@xmpp/connection"); -import websocket = require("@xmpp/websocket"); -import ConnectionWebSocket = require("@xmpp/websocket/lib/Connection"); -import FramedParser = require("@xmpp/websocket/lib/FramedParser"); -import Socket = require("@xmpp/websocket/lib/Socket"); +import Connection from "@xmpp/connection"; +import websocket from "@xmpp/websocket"; +import ConnectionWebSocket from "@xmpp/websocket/lib/Connection.js"; +import FramedParser from "@xmpp/websocket/lib/FramedParser.js"; +import Socket from "@xmpp/websocket/lib/Socket.js"; import { Element, Parser } from "@xmpp/xml"; import { URL } from "url"; -import { CloseEvent } from "ws"; // test type exports -type Entity = websocket.Entity; type Conn = ConnectionWebSocket; type Sock = Socket; type SockEvents = Socket.Events; type Err = Socket.WebSocketError; const sock = new Socket(); -sock.url; // $ExpectType string | URL | undefined -sock.socket; // $ExpectType WebSocket | undefined +sock.url; // $ExpectType string | URL | null +sock.socket; // $ExpectType WebSocket | null sock.connect("foo"); // $ExpectType void sock.connect(new URL("foo")); // $ExpectType void sock.end(); // $ExpectType void @@ -29,20 +27,20 @@ sock.write("foo", err => { sock.addListener("connect", () => {}); sock.addListener("data", data => { - data; // $ExpectType Data + data; // $ExpectType unknown }); sock.addListener("close", () => {}); sock.addListener("error", err => { err; // $ExpectType WebSocketError err.url; // $ExpectType string | URL - err.event; // $ExpectType ErrorEvent + err.event; // $ExpectType Event err.code; // $ExpectType "ECONNERROR" | undefined err.errno; // $ExpectType "ECONNERROR" | undefined }); sock.on("connect", () => {}); sock.on("data", data => { - data; // $ExpectType Data + data; // $ExpectType unknown }); sock.on("close", () => {}); sock.on("error", err => { @@ -51,7 +49,7 @@ sock.on("error", err => { sock.once("connect", () => {}); sock.once("data", data => { - data; // $ExpectType Data + data; // $ExpectType unknown }); sock.once("close", () => {}); sock.once("error", err => { @@ -60,7 +58,7 @@ sock.once("error", err => { sock.prependListener("connect", () => {}); sock.prependListener("data", data => { - data; // $ExpectType Data + data; // $ExpectType unknown }); sock.prependListener("close", () => {}); sock.prependListener("error", err => { @@ -69,7 +67,7 @@ sock.prependListener("error", err => { sock.prependOnceListener("connect", () => {}); sock.prependOnceListener("data", data => { - data; // $ExpectType Data + data; // $ExpectType unknown }); sock.prependOnceListener("close", () => {}); sock.prependOnceListener("error", err => { diff --git a/types/xmpp__xml/index.d.ts b/types/xmpp__xml/index.d.ts index 647ae7d1d57503..9fb2a9ab5d00dc 100644 --- a/types/xmpp__xml/index.d.ts +++ b/types/xmpp__xml/index.d.ts @@ -1,35 +1,35 @@ -export = xml; +export default xml; import * as ltx from "ltx"; declare function xml(...args: Parameters): ReturnType; -declare namespace xml { - type Element = ltx.Element; - type Node = ltx.Node; +type Element = ltx.Element; +type Node = ltx.Node; - const Element: typeof ltx.Element; - const createElement: typeof ltx.createElement; +declare const Element: typeof ltx.Element; +declare const createElement: typeof ltx.createElement; - const escapeXML: typeof ltx.escapeXML; - const unescapeXML: typeof ltx.unescapeXML; - const escapeXMLText: typeof ltx.escapeXMLText; - const unescapeXMLText: typeof ltx.unescapeXMLText; +declare const escapeXML: typeof ltx.escapeXML; +declare const unescapeXML: typeof ltx.unescapeXML; +declare const escapeXMLText: typeof ltx.escapeXMLText; +declare const unescapeXMLText: typeof ltx.unescapeXMLText; - class Parser extends ltx.Parser { - static readonly XMLError: typeof XMLError; - readonly parser: ltx.Parser; - root: Element | null; - cursor: Element | null; +export { createElement, Element, escapeXML, escapeXMLText, Node, unescapeXML, unescapeXMLText }; - onStartElement(name: string, attrs?: string | { [attrName: string]: any }): void; - onEndElement(name: string): void; - onText(str: string): void; - } +export class Parser extends ltx.Parser { + static readonly XMLError: typeof XMLError; + readonly parser: ltx.Parser; + root: Element | null; + cursor: Element | null; - class XMLError extends Error { - readonly name: "XMLError"; - } + onStartElement(name: string, attrs?: string | { [attrName: string]: any }): void; + onEndElement(name: string): void; + onText(str: string): void; +} + +export class XMLError extends Error { + readonly name: "XMLError"; } declare global { @@ -38,6 +38,6 @@ declare global { [elemName: string]: any; } - type Element = xml.Element; + type Element = ltx.Element; } } diff --git a/types/xmpp__xml/package.json b/types/xmpp__xml/package.json index 2fc9d39f18cc82..19fecfa8910bde 100644 --- a/types/xmpp__xml/package.json +++ b/types/xmpp__xml/package.json @@ -1,7 +1,8 @@ { "private": true, "name": "@types/xmpp__xml", - "version": "0.13.9999", + "version": "0.14.9999", + "type": "module", "projects": [ "https://github.com/xmppjs/xmpp.js/tree/main/packages/xml" ], diff --git a/types/xmpp__xml/tsconfig.json b/types/xmpp__xml/tsconfig.json index 331a9ea33cd664..2cbf0eddd6bf8a 100644 --- a/types/xmpp__xml/tsconfig.json +++ b/types/xmpp__xml/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "node16", + "target": "es6", "lib": [ "es6" ], diff --git a/types/xmpp__xml/xmpp__xml-tests.ts b/types/xmpp__xml/xmpp__xml-tests.ts index 6253db370a5793..4b21e37a68c4dc 100644 --- a/types/xmpp__xml/xmpp__xml-tests.ts +++ b/types/xmpp__xml/xmpp__xml-tests.ts @@ -1,18 +1,13 @@ -import xml = require("@xmpp/xml"); +import xml, { escapeXML, escapeXMLText, Parser, unescapeXML, unescapeXMLText, XMLError } from "@xmpp/xml"; import { Parser as LtxParser } from "ltx"; -// test type exports -type Element = xml.Element; -type Node = xml.Node; -type XMLError = xml.XMLError; +escapeXML(""); // $ExpectType string +unescapeXML(""); // $ExpectType string +escapeXMLText(""); // $ExpectType string +unescapeXMLText(""); // $ExpectType string -xml.escapeXML(""); // $ExpectType string -xml.unescapeXML(""); // $ExpectType string -xml.escapeXMLText(""); // $ExpectType string -xml.unescapeXMLText(""); // $ExpectType string - -xml.Parser.XMLError; // $ExpectType typeof XMLError -const parser = new xml.Parser(); +Parser.XMLError; // $ExpectType typeof XMLError +const parser = new Parser(); const ltxParser: LtxParser = parser; parser.parser; // $ExpectType Parser parser.root; // $ExpectType Element | null @@ -51,6 +46,6 @@ message.prepend(...days.map(day => xml("day", {}, day))); // $ExpectType void const body = message.getChild("body"); message.remove(body!); // $ExpectType Element -const xmlError = new xml.XMLError("foo"); +const xmlError = new XMLError("foo"); const error: Error = xmlError; xmlError.name; // $ExpectType "XMLError" diff --git a/types/xmpp__xml/xmpp__xml-tests.tsx b/types/xmpp__xml/xmpp__xml-tests.tsx index a5804b2b1b0ee9..fd109345786382 100644 --- a/types/xmpp__xml/xmpp__xml-tests.tsx +++ b/types/xmpp__xml/xmpp__xml-tests.tsx @@ -1,6 +1,6 @@ /** @jsx xml */ -import xml = require("@xmpp/xml"); +import xml from "@xmpp/xml"; const recipient = "user@example.com"; const days = ["Monday", "Tuesday"];