@types/es-abstract
Version:
TypeScript definitions for es-abstract
164 lines (159 loc) • 10.4 kB
TypeScript
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<T = unknown> = ES2021.AccessorDescriptor<T>;
type DataDescriptor<T = unknown> = ES2021.DataDescriptor<T>;
type PropertyDescriptor<T = unknown> = ES2021.PropertyDescriptor<T>;
}
declare const ES2022: ES2022;
export = ES2022;