Changes to enable the module conversion script

* shorthand -> long for `factory` since the typeformer script doesn't
  know how to handle it.

* Use setter to change `ts.sys` (similar to #35399).

* Fix `loggedIO` with empty namespaces to indicate dependency
  (similar to 50603eda).

* Move `Map` / `Set` stuff from `core.ts` to `corePublic.ts` since the
  types are there.
This commit is contained in:
Eli Barzilay
2021-09-22 16:08:27 -04:00
parent 506a95b5a5
commit 39ff1568e9
6 changed files with 38 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
namespace Playback {
namespace Playback { // eslint-disable-line one-namespace-per-file
interface FileInformation {
contents?: string;
contentsPath?: string;
@@ -445,3 +445,7 @@ namespace Playback {
return wrapper;
}
}
// empty modules for the module migration script
namespace ts.server { } // eslint-disable-line one-namespace-per-file
namespace Harness { } // eslint-disable-line one-namespace-per-file