summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.es5.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc/dts/lib.es5.d.ts')
-rw-r--r--cli/tsc/dts/lib.es5.d.ts45
1 files changed, 27 insertions, 18 deletions
diff --git a/cli/tsc/dts/lib.es5.d.ts b/cli/tsc/dts/lib.es5.d.ts
index a723d2942..fcb22a4b8 100644
--- a/cli/tsc/dts/lib.es5.d.ts
+++ b/cli/tsc/dts/lib.es5.d.ts
@@ -1667,6 +1667,15 @@ type Uncapitalize<S extends string> = intrinsic;
interface ThisType<T> { }
/**
+ * Stores types to be used with WeakSet, WeakMap, WeakRef, and FinalizationRegistry
+ */
+interface WeakKeyTypes {
+ object: object;
+}
+
+type WeakKey = WeakKeyTypes[keyof WeakKeyTypes];
+
+/**
* Represents a raw buffer of binary data, which is used to store data for the
* different typed arrays. ArrayBuffers cannot be read from or written to directly,
* but can be passed to a typed array or DataView Object to interpret the raw
@@ -1881,10 +1890,10 @@ interface Int8Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -2163,10 +2172,10 @@ interface Uint8Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -2445,10 +2454,10 @@ interface Uint8ClampedArray {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -2726,10 +2735,10 @@ interface Int16Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -3008,10 +3017,10 @@ interface Uint16Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -3290,10 +3299,10 @@ interface Int32Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -3572,10 +3581,10 @@ interface Uint32Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -3853,10 +3862,10 @@ interface Float32Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.
@@ -4136,10 +4145,10 @@ interface Float64Array {
* @param target If target is negative, it is treated as length+target where length is the
* length of the array.
* @param start If start is negative, it is treated as length+start. If end is negative, it
- * is treated as length+end. If start is omitted, `0` is used.
+ * is treated as length+end.
* @param end If not specified, length of the this object is used as its default value.
*/
- copyWithin(target: number, start?: number, end?: number): this;
+ copyWithin(target: number, start: number, end?: number): this;
/**
* Determines whether all the members of an array satisfy the specified test.