typescript 6.0.0-dev.20260216 → 6.0.0-dev.20260218
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 +2 -1
- package/lib/lib.esnext.temporal.d.ts +2 -4
- 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 = "6.0";
|
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20260218`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -115554,6 +115554,7 @@ function transformDeclarations(context) {
|
|
|
115554
115554
|
if (isOmittedExpression(elem)) continue;
|
|
115555
115555
|
if (isBindingPattern(elem.name)) {
|
|
115556
115556
|
elems = concatenate(elems, walkBindingPattern(elem.name));
|
|
115557
|
+
continue;
|
|
115557
115558
|
}
|
|
115558
115559
|
elems = elems || [];
|
|
115559
115560
|
elems.push(factory2.createPropertyDeclaration(
|
|
@@ -24,7 +24,7 @@ declare namespace Temporal {
|
|
|
24
24
|
type InstantLike = Instant | ZonedDateTime | string;
|
|
25
25
|
type PlainDateLike = PlainDate | ZonedDateTime | PlainDateTime | DateLikeObject | string;
|
|
26
26
|
type PlainDateTimeLike = PlainDateTime | ZonedDateTime | PlainDate | DateTimeLikeObject | string;
|
|
27
|
-
type PlainMonthDayLike = PlainMonthDay |
|
|
27
|
+
type PlainMonthDayLike = PlainMonthDay | DateLikeObject | string;
|
|
28
28
|
type PlainTimeLike = PlainTime | PlainDateTime | ZonedDateTime | TimeLikeObject | string;
|
|
29
29
|
type PlainYearMonthLike = PlainYearMonth | YearMonthLikeObject | string;
|
|
30
30
|
type TimeZoneLike = ZonedDateTime | string;
|
|
@@ -59,8 +59,6 @@ declare namespace Temporal {
|
|
|
59
59
|
nanoseconds?: number | undefined;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
interface MonthDayLikeObject extends Omit<DateLikeObject, "era" | "eraYear"> {}
|
|
63
|
-
|
|
64
62
|
interface TimeLikeObject {
|
|
65
63
|
hour?: number | undefined;
|
|
66
64
|
minute?: number | undefined;
|
|
@@ -454,7 +452,7 @@ declare namespace Temporal {
|
|
|
454
452
|
readonly calendarId: string;
|
|
455
453
|
readonly monthCode: string;
|
|
456
454
|
readonly day: number;
|
|
457
|
-
with(monthDayLike: PartialTemporalLike<
|
|
455
|
+
with(monthDayLike: PartialTemporalLike<DateLikeObject>, options?: OverflowOptions): PlainMonthDay;
|
|
458
456
|
equals(other: PlainMonthDayLike): boolean;
|
|
459
457
|
toString(options?: PlainDateToStringOptions): string;
|
|
460
458
|
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
package/lib/typescript.js
CHANGED
|
@@ -2289,7 +2289,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2289
2289
|
|
|
2290
2290
|
// src/compiler/corePublic.ts
|
|
2291
2291
|
var versionMajorMinor = "6.0";
|
|
2292
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2292
|
+
var version = `${versionMajorMinor}.0-dev.20260218`;
|
|
2293
2293
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2294
2294
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2295
2295
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -120371,6 +120371,7 @@ function transformDeclarations(context) {
|
|
|
120371
120371
|
if (isOmittedExpression(elem)) continue;
|
|
120372
120372
|
if (isBindingPattern(elem.name)) {
|
|
120373
120373
|
elems = concatenate(elems, walkBindingPattern(elem.name));
|
|
120374
|
+
continue;
|
|
120374
120375
|
}
|
|
120375
120376
|
elems = elems || [];
|
|
120376
120377
|
elems.push(factory2.createPropertyDeclaration(
|
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": "6.0.0-dev.
|
|
5
|
+
"version": "6.0.0-dev.20260218",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"node": "20.1.0",
|
|
116
116
|
"npm": "8.19.4"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "ad04bf7488384a5dcdf7d250ccb8e5263021a8ff"
|
|
119
119
|
}
|