typescript 5.7.0-dev.20241101 → 5.7.0-dev.20241103
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 +1 -1
- package/lib/lib.decorators.d.ts +13 -15
- package/lib/lib.es2020.bigint.d.ts +2 -0
- package/lib/typescript.js +2 -1
- package/package.json +2 -2
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.
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20241103`;
|
22
22
|
|
23
23
|
// src/compiler/core.ts
|
24
24
|
var emptyArray = [];
|
package/lib/lib.decorators.d.ts
CHANGED
@@ -110,9 +110,9 @@ interface ClassMethodDecoratorContext<
|
|
110
110
|
};
|
111
111
|
|
112
112
|
/**
|
113
|
-
* Adds a callback to be invoked either
|
114
|
-
* decorating a `static` element), or before instance
|
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
|
180
|
-
* decorating a `static` element), or before instance
|
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
|
227
|
-
* decorating a `static` element), or before instance
|
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
|
283
|
-
*
|
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
|
380
|
-
*
|
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.
|
2281
|
+
var version = `${versionMajorMinor}.0-dev.20241103`;
|
2282
2282
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
2283
2283
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
2284
2284
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
@@ -194860,6 +194860,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
194860
194860
|
}
|
194861
194861
|
getPasteEdits(args) {
|
194862
194862
|
const { file, project } = this.getFileAndProject(args);
|
194863
|
+
if (isDynamicFileName(file)) return void 0;
|
194863
194864
|
const copiedFrom = args.copiedFrom ? { file: args.copiedFrom.file, range: args.copiedFrom.spans.map((copies) => this.getRange({ file: args.copiedFrom.file, startLine: copies.start.line, startOffset: copies.start.offset, endLine: copies.end.line, endOffset: copies.end.offset }, project.getScriptInfoForNormalizedPath(toNormalizedPath(args.copiedFrom.file)))) } : void 0;
|
194864
194865
|
const result = project.getLanguageService().getPasteEdits(
|
194865
194866
|
{
|
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.
|
5
|
+
"version": "5.7.0-dev.20241103",
|
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": "
|
119
|
+
"gitHead": "0ec4d30a6e2ebbc87292c9829378d4e98de8ef43"
|
120
120
|
}
|