typescript 5.7.0-dev.20240927 → 5.7.0-dev.20240928
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 +580 -223
- package/lib/lib.dom.d.ts +1115 -219
- package/lib/lib.es2016.intl.d.ts +1 -1
- package/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/lib/lib.es2017.d.ts +3 -2
- package/lib/lib.es2017.sharedmemory.d.ts +2 -2
- package/lib/lib.es2020.bigint.d.ts +1 -1
- package/lib/lib.es2020.intl.d.ts +36 -36
- package/lib/lib.es2020.sharedmemory.d.ts +2 -0
- package/lib/lib.es2020.string.d.ts +2 -0
- package/lib/lib.es2021.intl.d.ts +17 -17
- package/lib/lib.es2021.weakref.d.ts +2 -0
- package/lib/lib.es2022.d.ts +1 -2
- package/lib/lib.es2022.error.d.ts +2 -0
- package/lib/lib.es2022.intl.d.ts +9 -9
- package/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/lib/lib.es2024.collection.d.ts +29 -0
- package/lib/lib.es2024.d.ts +26 -0
- package/lib/lib.es2024.full.d.ts +24 -0
- package/lib/{lib.es2022.sharedmemory.d.ts → lib.es2024.sharedmemory.d.ts} +29 -0
- package/lib/lib.es5.d.ts +1 -1
- package/lib/lib.esnext.collection.d.ts +1 -11
- package/lib/lib.esnext.d.ts +1 -5
- package/lib/lib.webworker.d.ts +311 -34
- package/lib/typescript.d.ts +7 -1
- package/lib/typescript.js +603 -230
- package/package.json +2 -2
- /package/lib/{lib.esnext.object.d.ts → lib.es2024.object.d.ts} +0 -0
- /package/lib/{lib.esnext.promise.d.ts → lib.es2024.promise.d.ts} +0 -0
- /package/lib/{lib.esnext.regexp.d.ts → lib.es2024.regexp.d.ts} +0 -0
- /package/lib/{lib.esnext.string.d.ts → lib.es2024.string.d.ts} +0 -0
package/lib/typescript.d.ts
CHANGED
|
@@ -2551,6 +2551,7 @@ declare namespace ts {
|
|
|
2551
2551
|
ES2021 = "es2021",
|
|
2552
2552
|
ES2022 = "es2022",
|
|
2553
2553
|
ES2023 = "es2023",
|
|
2554
|
+
ES2024 = "es2024",
|
|
2554
2555
|
ESNext = "esnext",
|
|
2555
2556
|
JSON = "json",
|
|
2556
2557
|
Latest = "esnext",
|
|
@@ -5147,7 +5148,7 @@ declare namespace ts {
|
|
|
5147
5148
|
interface InstanceofExpression extends BinaryExpression {
|
|
5148
5149
|
readonly operatorToken: Token<SyntaxKind.InstanceOfKeyword>;
|
|
5149
5150
|
}
|
|
5150
|
-
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator |
|
|
5151
|
+
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxCallLike | InstanceofExpression;
|
|
5151
5152
|
interface AsExpression extends Expression {
|
|
5152
5153
|
readonly kind: SyntaxKind.AsExpression;
|
|
5153
5154
|
readonly expression: Expression;
|
|
@@ -5183,6 +5184,7 @@ declare namespace ts {
|
|
|
5183
5184
|
readonly closingElement: JsxClosingElement;
|
|
5184
5185
|
}
|
|
5185
5186
|
type JsxOpeningLikeElement = JsxSelfClosingElement | JsxOpeningElement;
|
|
5187
|
+
type JsxCallLike = JsxOpeningLikeElement | JsxOpeningFragment;
|
|
5186
5188
|
type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute;
|
|
5187
5189
|
type JsxAttributeName = Identifier | JsxNamespacedName;
|
|
5188
5190
|
type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName;
|
|
@@ -7074,6 +7076,7 @@ declare namespace ts {
|
|
|
7074
7076
|
removeComments?: boolean;
|
|
7075
7077
|
resolvePackageJsonExports?: boolean;
|
|
7076
7078
|
resolvePackageJsonImports?: boolean;
|
|
7079
|
+
rewriteRelativeImportExtensions?: boolean;
|
|
7077
7080
|
rootDir?: string;
|
|
7078
7081
|
rootDirs?: string[];
|
|
7079
7082
|
skipLibCheck?: boolean;
|
|
@@ -7184,6 +7187,7 @@ declare namespace ts {
|
|
|
7184
7187
|
ES2021 = 8,
|
|
7185
7188
|
ES2022 = 9,
|
|
7186
7189
|
ES2023 = 10,
|
|
7190
|
+
ES2024 = 11,
|
|
7187
7191
|
ESNext = 99,
|
|
7188
7192
|
JSON = 100,
|
|
7189
7193
|
Latest = 99,
|
|
@@ -8748,6 +8752,7 @@ declare namespace ts {
|
|
|
8748
8752
|
function isTypeOnlyImportDeclaration(node: Node): node is TypeOnlyImportDeclaration;
|
|
8749
8753
|
function isTypeOnlyExportDeclaration(node: Node): node is TypeOnlyExportDeclaration;
|
|
8750
8754
|
function isTypeOnlyImportOrExportDeclaration(node: Node): node is TypeOnlyAliasDeclaration;
|
|
8755
|
+
function isPartOfTypeOnlyImportOrExportDeclaration(node: Node): boolean;
|
|
8751
8756
|
function isStringTextContainingNode(node: Node): node is StringLiteral | TemplateLiteralToken;
|
|
8752
8757
|
function isImportAttributeName(node: Node): node is ImportAttributeName;
|
|
8753
8758
|
function isModifier(node: Node): node is Modifier;
|
|
@@ -8796,6 +8801,7 @@ declare namespace ts {
|
|
|
8796
8801
|
function isJsxAttributeLike(node: Node): node is JsxAttributeLike;
|
|
8797
8802
|
function isStringLiteralOrJsxExpression(node: Node): node is StringLiteral | JsxExpression;
|
|
8798
8803
|
function isJsxOpeningLikeElement(node: Node): node is JsxOpeningLikeElement;
|
|
8804
|
+
function isJsxCallLike(node: Node): node is JsxCallLike;
|
|
8799
8805
|
function isCaseOrDefaultClause(node: Node): node is CaseOrDefaultClause;
|
|
8800
8806
|
/** True if node is of a kind that may contain comment text. */
|
|
8801
8807
|
function isJSDocCommentContainingNode(node: Node): boolean;
|