typescript 4.8.0-dev.20220705 → 4.8.0-dev.20220708

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.
@@ -2096,6 +2096,12 @@ declare namespace ts {
2096
2096
  * It is _public_ so that (pre)transformers can set this field,
2097
2097
  * since it switches the builtin `node` module transform. Generally speaking, if unset,
2098
2098
  * the field is treated as though it is `ModuleKind.CommonJS`.
2099
+ *
2100
+ * Note that this field is only set by the module resolution process when
2101
+ * `moduleResolution` is `Node16` or `NodeNext`, which is implied by the `module` setting
2102
+ * of `Node16` or `NodeNext`, respectively, but may be overriden (eg, by a `moduleResolution`
2103
+ * of `node`). If so, this field will be unset and source files will be considered to be
2104
+ * CommonJS-output-format by the node module transformer and type checker, regardless of extension or context.
2099
2105
  */
2100
2106
  impliedNodeFormat?: ModuleKind.ESNext | ModuleKind.CommonJS;
2101
2107
  }
@@ -2420,6 +2426,7 @@ declare namespace ts {
2420
2426
  UseAliasDefinedOutsideCurrentScope = 16384,
2421
2427
  UseSingleQuotesForStringLiteralType = 268435456,
2422
2428
  NoTypeReduction = 536870912,
2429
+ OmitThisParameter = 33554432,
2423
2430
  AllowThisInObjectLiteral = 32768,
2424
2431
  AllowQualifiedNameInPlaceOfIdentifier = 65536,
2425
2432
  /** @deprecated AllowQualifedNameInPlaceOfIdentifier. Use AllowQualifiedNameInPlaceOfIdentifier instead. */
@@ -2450,6 +2457,7 @@ declare namespace ts {
2450
2457
  UseAliasDefinedOutsideCurrentScope = 16384,
2451
2458
  UseSingleQuotesForStringLiteralType = 268435456,
2452
2459
  NoTypeReduction = 536870912,
2460
+ OmitThisParameter = 33554432,
2453
2461
  AllowUniqueESSymbolType = 1048576,
2454
2462
  AddUndefined = 131072,
2455
2463
  WriteArrowStyleSignature = 262144,
@@ -2458,7 +2466,7 @@ declare namespace ts {
2458
2466
  InFirstTypeArgument = 4194304,
2459
2467
  InTypeAlias = 8388608,
2460
2468
  /** @deprecated */ WriteOwnNameForAnyLike = 0,
2461
- NodeBuilderFlagsMask = 814775659
2469
+ NodeBuilderFlagsMask = 848330091
2462
2470
  }
2463
2471
  export enum SymbolFormatFlags {
2464
2472
  None = 0,