typescript 4.8.0-dev.20220706 → 4.8.0-dev.20220707

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
  }