typescript 5.0.0-dev.20230201 → 5.0.0-dev.20230202

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.
Files changed (84) hide show
  1. package/lib/lib.d.ts +0 -2
  2. package/lib/lib.decorators.d.ts +0 -2
  3. package/lib/lib.decorators.legacy.d.ts +0 -2
  4. package/lib/lib.dom.d.ts +0 -2
  5. package/lib/lib.dom.iterable.d.ts +0 -2
  6. package/lib/lib.es2015.collection.d.ts +0 -2
  7. package/lib/lib.es2015.core.d.ts +0 -2
  8. package/lib/lib.es2015.d.ts +0 -2
  9. package/lib/lib.es2015.generator.d.ts +0 -2
  10. package/lib/lib.es2015.iterable.d.ts +0 -2
  11. package/lib/lib.es2015.promise.d.ts +0 -2
  12. package/lib/lib.es2015.proxy.d.ts +0 -2
  13. package/lib/lib.es2015.reflect.d.ts +0 -2
  14. package/lib/lib.es2015.symbol.d.ts +0 -2
  15. package/lib/lib.es2015.symbol.wellknown.d.ts +0 -2
  16. package/lib/lib.es2016.array.include.d.ts +0 -2
  17. package/lib/lib.es2016.d.ts +0 -2
  18. package/lib/lib.es2016.full.d.ts +0 -2
  19. package/lib/lib.es2017.d.ts +0 -2
  20. package/lib/lib.es2017.full.d.ts +0 -2
  21. package/lib/lib.es2017.intl.d.ts +0 -2
  22. package/lib/lib.es2017.object.d.ts +0 -2
  23. package/lib/lib.es2017.sharedmemory.d.ts +0 -2
  24. package/lib/lib.es2017.string.d.ts +0 -2
  25. package/lib/lib.es2017.typedarrays.d.ts +0 -2
  26. package/lib/lib.es2018.asyncgenerator.d.ts +0 -2
  27. package/lib/lib.es2018.asynciterable.d.ts +0 -2
  28. package/lib/lib.es2018.d.ts +0 -2
  29. package/lib/lib.es2018.full.d.ts +0 -2
  30. package/lib/lib.es2018.intl.d.ts +0 -2
  31. package/lib/lib.es2018.promise.d.ts +0 -2
  32. package/lib/lib.es2018.regexp.d.ts +0 -2
  33. package/lib/lib.es2019.array.d.ts +0 -2
  34. package/lib/lib.es2019.d.ts +0 -2
  35. package/lib/lib.es2019.full.d.ts +0 -2
  36. package/lib/lib.es2019.intl.d.ts +0 -2
  37. package/lib/lib.es2019.object.d.ts +0 -2
  38. package/lib/lib.es2019.string.d.ts +0 -2
  39. package/lib/lib.es2019.symbol.d.ts +0 -2
  40. package/lib/lib.es2020.bigint.d.ts +0 -2
  41. package/lib/lib.es2020.d.ts +0 -2
  42. package/lib/lib.es2020.date.d.ts +0 -2
  43. package/lib/lib.es2020.full.d.ts +0 -2
  44. package/lib/lib.es2020.intl.d.ts +0 -2
  45. package/lib/lib.es2020.number.d.ts +0 -2
  46. package/lib/lib.es2020.promise.d.ts +0 -2
  47. package/lib/lib.es2020.sharedmemory.d.ts +0 -2
  48. package/lib/lib.es2020.string.d.ts +0 -2
  49. package/lib/lib.es2020.symbol.wellknown.d.ts +0 -2
  50. package/lib/lib.es2021.d.ts +0 -2
  51. package/lib/lib.es2021.full.d.ts +0 -2
  52. package/lib/lib.es2021.intl.d.ts +0 -2
  53. package/lib/lib.es2021.promise.d.ts +0 -2
  54. package/lib/lib.es2021.string.d.ts +0 -2
  55. package/lib/lib.es2021.weakref.d.ts +0 -2
  56. package/lib/lib.es2022.array.d.ts +0 -2
  57. package/lib/lib.es2022.d.ts +0 -2
  58. package/lib/lib.es2022.error.d.ts +0 -2
  59. package/lib/lib.es2022.full.d.ts +0 -2
  60. package/lib/lib.es2022.intl.d.ts +0 -2
  61. package/lib/lib.es2022.object.d.ts +0 -2
  62. package/lib/lib.es2022.regexp.d.ts +0 -2
  63. package/lib/lib.es2022.sharedmemory.d.ts +0 -2
  64. package/lib/lib.es2022.string.d.ts +0 -2
  65. package/lib/lib.es2023.array.d.ts +0 -2
  66. package/lib/lib.es2023.d.ts +0 -2
  67. package/lib/lib.es2023.full.d.ts +0 -2
  68. package/lib/lib.es5.d.ts +0 -2
  69. package/lib/lib.es6.d.ts +0 -2
  70. package/lib/lib.esnext.d.ts +0 -2
  71. package/lib/lib.esnext.full.d.ts +0 -2
  72. package/lib/lib.esnext.intl.d.ts +0 -2
  73. package/lib/lib.scripthost.d.ts +0 -2
  74. package/lib/lib.webworker.d.ts +0 -2
  75. package/lib/lib.webworker.importscripts.d.ts +0 -2
  76. package/lib/lib.webworker.iterable.d.ts +0 -2
  77. package/lib/tsc.js +20 -17
  78. package/lib/tsserver.js +31 -22
  79. package/lib/tsserverlibrary.d.ts +16 -0
  80. package/lib/tsserverlibrary.js +31 -22
  81. package/lib/typescript.d.ts +16 -0
  82. package/lib/typescript.js +31 -22
  83. package/lib/typingsInstaller.js +3 -4
  84. package/package.json +1 -1
package/lib/lib.d.ts CHANGED
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es5" />
22
20
  /// <reference lib="dom" />
23
21
  /// <reference lib="webworker.importscripts" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /**
22
20
  * The decorator context types provided to class member decorators.
23
21
  */
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
22
20
  declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
23
21
  declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
package/lib/lib.dom.d.ts CHANGED
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /////////////////////////////
22
20
  /// Window APIs
23
21
  /////////////////////////////
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /////////////////////////////
22
20
  /// Window Iterable APIs
23
21
  /////////////////////////////
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface Map<K, V> {
22
20
 
23
21
  clear(): void;
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface Array<T> {
22
20
  /**
23
21
  * Returns the value of the first element in the array where predicate is true, and undefined
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es5" />
22
20
  /// <reference lib="es2015.core" />
23
21
  /// <reference lib="es2015.collection" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.iterable" />
22
20
 
23
21
  interface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.symbol" />
22
20
 
23
21
  interface SymbolConstructor {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface PromiseConstructor {
22
20
  /**
23
21
  * A reference to the prototype.
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface ProxyHandler<T extends object> {
22
20
  /**
23
21
  * A trap method for a function call.
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  declare namespace Reflect {
22
20
  /**
23
21
  * Calls the function with the specified object as the this value
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface SymbolConstructor {
22
20
  /**
23
21
  * A reference to the prototype.
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.symbol" />
22
20
 
23
21
  interface SymbolConstructor {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface Array<T> {
22
20
  /**
23
21
  * Determines whether an array includes a certain element, returning true or false as appropriate.
@@ -14,9 +14,7 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015" />
22
20
  /// <reference lib="es2016.array.include" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2016" />
22
20
  /// <reference lib="dom" />
23
21
  /// <reference lib="webworker.importscripts" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2016" />
22
20
  /// <reference lib="es2017.object" />
23
21
  /// <reference lib="es2017.sharedmemory" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2017" />
22
20
  /// <reference lib="dom" />
23
21
  /// <reference lib="webworker.importscripts" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  declare namespace Intl {
22
20
 
23
21
  interface DateTimeFormatPartTypesRegistry {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface ObjectConstructor {
22
20
  /**
23
21
  * Returns an array of values of the enumerable properties of an object
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.symbol" />
22
20
  /// <reference lib="es2015.symbol.wellknown" />
23
21
 
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface String {
22
20
  /**
23
21
  * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface Int8ArrayConstructor {
22
20
  new (): Int8Array;
23
21
  }
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2018.asynciterable" />
22
20
 
23
21
  interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.symbol" />
22
20
  /// <reference lib="es2015.iterable" />
23
21
 
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2017" />
22
20
  /// <reference lib="es2018.asynciterable" />
23
21
  /// <reference lib="es2018.asyncgenerator" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2018" />
22
20
  /// <reference lib="dom" />
23
21
  /// <reference lib="webworker.importscripts" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  declare namespace Intl {
22
20
 
23
21
  // http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /**
22
20
  * Represents the completion of an asynchronous operation
23
21
  */
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface RegExpMatchArray {
22
20
  groups?: {
23
21
  [key: string]: string
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  type FlatArray<Arr, Depth extends number> = {
22
20
  "done": Arr,
23
21
  "recur": Arr extends ReadonlyArray<infer InnerArr>
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2018" />
22
20
  /// <reference lib="es2019.array" />
23
21
  /// <reference lib="es2019.object" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2019" />
22
20
  /// <reference lib="dom" />
23
21
  /// <reference lib="webworker.importscripts" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  declare namespace Intl {
22
20
  interface DateTimeFormatPartTypesRegistry {
23
21
  unknown: any
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.iterable" />
22
20
 
23
21
  interface ObjectConstructor {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface String {
22
20
  /** Removes the trailing white space and line terminator characters from a string. */
23
21
  trimEnd(): string;
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface Symbol {
22
20
  /**
23
21
  * Expose the [[Description]] internal slot of a symbol directly.
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2020.intl" />
22
20
 
23
21
  interface BigIntToLocaleStringOptions {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2019" />
22
20
  /// <reference lib="es2020.bigint" />
23
21
  /// <reference lib="es2020.date" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2020.intl" />
22
20
 
23
21
  interface Date {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2020" />
22
20
  /// <reference lib="dom" />
23
21
  /// <reference lib="webworker.importscripts" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2018.intl" />
22
20
  declare namespace Intl {
23
21
 
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2020.intl" />
22
20
 
23
21
  interface Number {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface PromiseFulfilledResult<T> {
22
20
  status: "fulfilled";
23
21
  value: T;
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface Atomics {
22
20
  /**
23
21
  * Adds a value to the value at the given position in the array, returning the original value.
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.iterable" />
22
20
 
23
21
  interface String {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2015.iterable" />
22
20
  /// <reference lib="es2015.symbol" />
23
21
 
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2020" />
22
20
  /// <reference lib="es2021.promise" />
23
21
  /// <reference lib="es2021.string" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  /// <reference lib="es2021" />
22
20
  /// <reference lib="dom" />
23
21
  /// <reference lib="webworker.importscripts" />
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  declare namespace Intl {
22
20
 
23
21
  interface DateTimeFormatPartTypesRegistry {
@@ -14,10 +14,8 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
-
18
17
  /// <reference no-default-lib="true"/>
19
18
 
20
-
21
19
  interface AggregateError extends Error {
22
20
  errors: any[]
23
21
  }