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