typescript 5.7.0-dev.20240927 → 5.7.0-dev.20240929

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.
@@ -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 | JsxOpeningLikeElement | InstanceofExpression;
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;