typescript 5.0.0-dev.20230105 → 5.0.0-dev.20230107

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.
@@ -3966,21 +3966,6 @@ declare namespace ts {
3966
3966
  interface SortedArray<T> extends Array<T> {
3967
3967
  " __sortedArrayBrand": any;
3968
3968
  }
3969
- /** Common read methods for ES6 Map/Set. */
3970
- interface ReadonlyCollection<K> {
3971
- readonly size: number;
3972
- has(key: K): boolean;
3973
- keys(): Iterator<K>;
3974
- }
3975
- /** Common write methods for ES6 Map/Set. */
3976
- interface Collection<K> extends ReadonlyCollection<K> {
3977
- delete(key: K): boolean;
3978
- clear(): void;
3979
- }
3980
- /** Array that is only intended to be pushed to, never read. */
3981
- interface Push<T> {
3982
- push(...values: T[]): void;
3983
- }
3984
3969
  type Path = string & {
3985
3970
  __pathBrand: any;
3986
3971
  };
@@ -8569,7 +8554,7 @@ declare namespace ts {
8569
8554
  resolvePath(path: string): string;
8570
8555
  fileExists(fileName: string): boolean;
8571
8556
  readFile(fileName: string): string | undefined;
8572
- }, errors?: Push<Diagnostic>): void;
8557
+ }, errors?: Diagnostic[]): void;
8573
8558
  function getOriginalNode(node: Node): Node;
8574
8559
  function getOriginalNode<T extends Node>(node: Node, nodeTest: (node: Node) => node is T): T;
8575
8560
  function getOriginalNode(node: Node | undefined): Node | undefined;
@@ -9149,7 +9134,7 @@ declare namespace ts {
9149
9134
  /**
9150
9135
  * Convert the json syntax tree into the json value
9151
9136
  */
9152
- function convertToObject(sourceFile: JsonSourceFile, errors: Push<Diagnostic>): any;
9137
+ function convertToObject(sourceFile: JsonSourceFile, errors: Diagnostic[]): any;
9153
9138
  /**
9154
9139
  * Parse the contents of a config file (tsconfig.json).
9155
9140
  * @param json The contents of the config file to parse