typescript 5.7.0-dev.20241101 → 5.7.0-dev.20241102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/_tsc.js CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "5.7";
21
- var version = `${versionMajorMinor}.0-dev.20241101`;
21
+ var version = `${versionMajorMinor}.0-dev.20241102`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -110,9 +110,9 @@ interface ClassMethodDecoratorContext<
110
110
  };
111
111
 
112
112
  /**
113
- * Adds a callback to be invoked either before static initializers are run (when
114
- * decorating a `static` element), or before instance initializers are run (when
115
- * decorating a non-`static` element).
113
+ * Adds a callback to be invoked either after static methods are defined but before
114
+ * static initializers are run (when decorating a `static` element), or before instance
115
+ * initializers are run (when decorating a non-`static` element).
116
116
  *
117
117
  * @example
118
118
  * ```ts
@@ -176,9 +176,9 @@ interface ClassGetterDecoratorContext<
176
176
  };
177
177
 
178
178
  /**
179
- * Adds a callback to be invoked either before static initializers are run (when
180
- * decorating a `static` element), or before instance initializers are run (when
181
- * decorating a non-`static` element).
179
+ * Adds a callback to be invoked either after static methods are defined but before
180
+ * static initializers are run (when decorating a `static` element), or before instance
181
+ * initializers are run (when decorating a non-`static` element).
182
182
  */
183
183
  addInitializer(initializer: (this: This) => void): void;
184
184
 
@@ -223,9 +223,9 @@ interface ClassSetterDecoratorContext<
223
223
  };
224
224
 
225
225
  /**
226
- * Adds a callback to be invoked either before static initializers are run (when
227
- * decorating a `static` element), or before instance initializers are run (when
228
- * decorating a non-`static` element).
226
+ * Adds a callback to be invoked either after static methods are defined but before
227
+ * static initializers are run (when decorating a `static` element), or before instance
228
+ * initializers are run (when decorating a non-`static` element).
229
229
  */
230
230
  addInitializer(initializer: (this: This) => void): void;
231
231
 
@@ -279,9 +279,8 @@ interface ClassAccessorDecoratorContext<
279
279
  };
280
280
 
281
281
  /**
282
- * Adds a callback to be invoked either before static initializers are run (when
283
- * decorating a `static` element), or before instance initializers are run (when
284
- * decorating a non-`static` element).
282
+ * Adds a callback to be invoked immediately after the auto `accessor` being
283
+ * decorated is initialized (regardless if the `accessor` is `static` or not).
285
284
  */
286
285
  addInitializer(initializer: (this: This) => void): void;
287
286
 
@@ -376,9 +375,8 @@ interface ClassFieldDecoratorContext<
376
375
  };
377
376
 
378
377
  /**
379
- * Adds a callback to be invoked either before static initializers are run (when
380
- * decorating a `static` element), or before instance initializers are run (when
381
- * decorating a non-`static` element).
378
+ * Adds a callback to be invoked immediately after the field being decorated
379
+ * is initialized (regardless if the field is `static` or not).
382
380
  */
383
381
  addInitializer(initializer: (this: This) => void): void;
384
382
 
@@ -391,6 +391,7 @@ interface BigInt64ArrayConstructor {
391
391
  new (length?: number): BigInt64Array<ArrayBuffer>;
392
392
  new (array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>;
393
393
  new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<TArrayBuffer>;
394
+ new (array: ArrayLike<bigint> | ArrayBuffer): BigInt64Array<ArrayBuffer>;
394
395
 
395
396
  /** The size in bytes of each element in the array. */
396
397
  readonly BYTES_PER_ELEMENT: number;
@@ -667,6 +668,7 @@ interface BigUint64ArrayConstructor {
667
668
  new (length?: number): BigUint64Array<ArrayBuffer>;
668
669
  new (array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>;
669
670
  new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<TArrayBuffer>;
671
+ new (array: ArrayLike<bigint> | ArrayBuffer): BigUint64Array<ArrayBuffer>;
670
672
 
671
673
  /** The size in bytes of each element in the array. */
672
674
  readonly BYTES_PER_ELEMENT: number;
package/lib/typescript.js CHANGED
@@ -2278,7 +2278,7 @@ module.exports = __toCommonJS(typescript_exports);
2278
2278
 
2279
2279
  // src/compiler/corePublic.ts
2280
2280
  var versionMajorMinor = "5.7";
2281
- var version = `${versionMajorMinor}.0-dev.20241101`;
2281
+ var version = `${versionMajorMinor}.0-dev.20241102`;
2282
2282
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2283
2283
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2284
2284
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.7.0-dev.20241101",
5
+ "version": "5.7.0-dev.20241102",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -116,5 +116,5 @@
116
116
  "node": "20.1.0",
117
117
  "npm": "8.19.4"
118
118
  },
119
- "gitHead": "3e6171833e6d8481626b56a7de09ea03092fadf2"
119
+ "gitHead": "11b2930fa2c9f73b0ffb725a9715b8d3c4121bbc"
120
120
  }