@codingame/monaco-vscode-typescript-language-features-default-extension 1.81.8-next.1

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 (87) hide show
  1. package/extension.js +36798 -0
  2. package/extension.js.map +1 -0
  3. package/index.js +93 -0
  4. package/jsconfig.schema.json +10 -0
  5. package/lib.d.ts.txt +22 -0
  6. package/lib.decorators.d.ts.txt +372 -0
  7. package/lib.decorators.legacy.d.ts.txt +22 -0
  8. package/lib.dom.d.ts.txt +27981 -0
  9. package/lib.dom.iterable.d.ts.txt +460 -0
  10. package/lib.es2015.collection.d.ts.txt +148 -0
  11. package/lib.es2015.core.d.ts.txt +557 -0
  12. package/lib.es2015.d.ts.txt +28 -0
  13. package/lib.es2015.generator.d.ts.txt +77 -0
  14. package/lib.es2015.iterable.d.ts.txt +496 -0
  15. package/lib.es2015.promise.d.ts.txt +81 -0
  16. package/lib.es2015.proxy.d.ts.txt +128 -0
  17. package/lib.es2015.reflect.d.ts.txt +144 -0
  18. package/lib.es2015.symbol.d.ts.txt +46 -0
  19. package/lib.es2015.symbol.wellknown.d.ts.txt +326 -0
  20. package/lib.es2016.array.include.d.ts.txt +116 -0
  21. package/lib.es2016.d.ts.txt +20 -0
  22. package/lib.es2016.full.d.ts.txt +23 -0
  23. package/lib.es2017.d.ts.txt +24 -0
  24. package/lib.es2017.full.d.ts.txt +23 -0
  25. package/lib.es2017.intl.d.ts.txt +45 -0
  26. package/lib.es2017.object.d.ts.txt +49 -0
  27. package/lib.es2017.sharedmemory.d.ts.txt +135 -0
  28. package/lib.es2017.string.d.ts.txt +45 -0
  29. package/lib.es2017.typedarrays.d.ts.txt +53 -0
  30. package/lib.es2018.asyncgenerator.d.ts.txt +77 -0
  31. package/lib.es2018.asynciterable.d.ts.txt +43 -0
  32. package/lib.es2018.d.ts.txt +24 -0
  33. package/lib.es2018.full.d.ts.txt +23 -0
  34. package/lib.es2018.intl.d.ts.txt +71 -0
  35. package/lib.es2018.promise.d.ts.txt +30 -0
  36. package/lib.es2018.regexp.d.ts.txt +37 -0
  37. package/lib.es2019.array.d.ts.txt +83 -0
  38. package/lib.es2019.d.ts.txt +24 -0
  39. package/lib.es2019.full.d.ts.txt +23 -0
  40. package/lib.es2019.intl.d.ts.txt +23 -0
  41. package/lib.es2019.object.d.ts.txt +33 -0
  42. package/lib.es2019.string.d.ts.txt +37 -0
  43. package/lib.es2019.symbol.d.ts.txt +24 -0
  44. package/lib.es2020.bigint.d.ts.txt +728 -0
  45. package/lib.es2020.d.ts.txt +27 -0
  46. package/lib.es2020.date.d.ts.txt +42 -0
  47. package/lib.es2020.full.d.ts.txt +23 -0
  48. package/lib.es2020.intl.d.ts.txt +431 -0
  49. package/lib.es2020.number.d.ts.txt +28 -0
  50. package/lib.es2020.promise.d.ts.txt +47 -0
  51. package/lib.es2020.sharedmemory.d.ts.txt +97 -0
  52. package/lib.es2020.string.d.ts.txt +28 -0
  53. package/lib.es2020.symbol.wellknown.d.ts.txt +37 -0
  54. package/lib.es2021.d.ts.txt +23 -0
  55. package/lib.es2021.full.d.ts.txt +23 -0
  56. package/lib.es2021.intl.d.ts.txt +167 -0
  57. package/lib.es2021.promise.d.ts.txt +48 -0
  58. package/lib.es2021.string.d.ts.txt +33 -0
  59. package/lib.es2021.weakref.d.ts.txt +73 -0
  60. package/lib.es2022.array.d.ts.txt +121 -0
  61. package/lib.es2022.d.ts.txt +26 -0
  62. package/lib.es2022.error.d.ts.txt +73 -0
  63. package/lib.es2022.full.d.ts.txt +23 -0
  64. package/lib.es2022.intl.d.ts.txt +118 -0
  65. package/lib.es2022.object.d.ts.txt +26 -0
  66. package/lib.es2022.regexp.d.ts.txt +39 -0
  67. package/lib.es2022.sharedmemory.d.ts.txt +39 -0
  68. package/lib.es2022.string.d.ts.txt +25 -0
  69. package/lib.es2023.array.d.ts.txt +342 -0
  70. package/lib.es2023.d.ts.txt +20 -0
  71. package/lib.es2023.full.d.ts.txt +23 -0
  72. package/lib.es5.d.ts.txt +4545 -0
  73. package/lib.es6.d.ts.txt +23 -0
  74. package/lib.esnext.d.ts.txt +20 -0
  75. package/lib.esnext.full.d.ts.txt +23 -0
  76. package/lib.esnext.intl.d.ts.txt +28 -0
  77. package/lib.scripthost.d.ts.txt +325 -0
  78. package/lib.webworker.d.ts.txt +9185 -0
  79. package/lib.webworker.importscripts.d.ts.txt +24 -0
  80. package/lib.webworker.iterable.d.ts.txt +270 -0
  81. package/package.json +22 -0
  82. package/package.schema.json +31 -0
  83. package/tsconfig.schema.json +13 -0
  84. package/tsserver.web.js +187934 -0
  85. package/tsserver.web.js.map +1 -0
  86. package/typesMap.json +497 -0
  87. package/typescript.d.ts.txt +7272 -0
@@ -0,0 +1,37 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface RegExpMatchArray {
20
+ groups?: {
21
+ [key: string]: string
22
+ }
23
+ }
24
+
25
+ interface RegExpExecArray {
26
+ groups?: {
27
+ [key: string]: string
28
+ }
29
+ }
30
+
31
+ interface RegExp {
32
+ /**
33
+ * Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.
34
+ * Default is false. Read-only.
35
+ */
36
+ readonly dotAll: boolean;
37
+ }
@@ -0,0 +1,83 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ type FlatArray<Arr, Depth extends number> = {
20
+ "done": Arr,
21
+ "recur": Arr extends ReadonlyArray<infer InnerArr>
22
+ ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]>
23
+ : Arr
24
+ }[Depth extends -1 ? "done" : "recur"];
25
+
26
+ interface ReadonlyArray<T> {
27
+
28
+ /**
29
+ * Calls a defined callback function on each element of an array. Then, flattens the result into
30
+ * a new array.
31
+ * This is identical to a map followed by flat with depth 1.
32
+ *
33
+ * @param callback A function that accepts up to three arguments. The flatMap method calls the
34
+ * callback function one time for each element in the array.
35
+ * @param thisArg An object to which the this keyword can refer in the callback function. If
36
+ * thisArg is omitted, undefined is used as the this value.
37
+ */
38
+ flatMap<U, This = undefined> (
39
+ callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
40
+ thisArg?: This
41
+ ): U[]
42
+
43
+
44
+ /**
45
+ * Returns a new array with all sub-array elements concatenated into it recursively up to the
46
+ * specified depth.
47
+ *
48
+ * @param depth The maximum recursion depth
49
+ */
50
+ flat<A, D extends number = 1>(
51
+ this: A,
52
+ depth?: D
53
+ ): FlatArray<A, D>[]
54
+ }
55
+
56
+ interface Array<T> {
57
+
58
+ /**
59
+ * Calls a defined callback function on each element of an array. Then, flattens the result into
60
+ * a new array.
61
+ * This is identical to a map followed by flat with depth 1.
62
+ *
63
+ * @param callback A function that accepts up to three arguments. The flatMap method calls the
64
+ * callback function one time for each element in the array.
65
+ * @param thisArg An object to which the this keyword can refer in the callback function. If
66
+ * thisArg is omitted, undefined is used as the this value.
67
+ */
68
+ flatMap<U, This = undefined> (
69
+ callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
70
+ thisArg?: This
71
+ ): U[]
72
+
73
+ /**
74
+ * Returns a new array with all sub-array elements concatenated into it recursively up to the
75
+ * specified depth.
76
+ *
77
+ * @param depth The maximum recursion depth
78
+ */
79
+ flat<A, D extends number = 1>(
80
+ this: A,
81
+ depth?: D
82
+ ): FlatArray<A, D>[]
83
+ }
@@ -0,0 +1,24 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2018" />
20
+ /// <reference lib="es2019.array" />
21
+ /// <reference lib="es2019.object" />
22
+ /// <reference lib="es2019.string" />
23
+ /// <reference lib="es2019.symbol" />
24
+ /// <reference lib="es2019.intl" />
@@ -0,0 +1,23 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2019" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
@@ -0,0 +1,23 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ declare namespace Intl {
20
+ interface DateTimeFormatPartTypesRegistry {
21
+ unknown: any
22
+ }
23
+ }
@@ -0,0 +1,33 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2015.iterable" />
20
+
21
+ interface ObjectConstructor {
22
+ /**
23
+ * Returns an object created by key-value entries for properties and methods
24
+ * @param entries An iterable object that contains key-value entries for properties and methods.
25
+ */
26
+ fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T };
27
+
28
+ /**
29
+ * Returns an object created by key-value entries for properties and methods
30
+ * @param entries An iterable object that contains key-value entries for properties and methods.
31
+ */
32
+ fromEntries(entries: Iterable<readonly any[]>): any;
33
+ }
@@ -0,0 +1,37 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface String {
20
+ /** Removes the trailing white space and line terminator characters from a string. */
21
+ trimEnd(): string;
22
+
23
+ /** Removes the leading white space and line terminator characters from a string. */
24
+ trimStart(): string;
25
+
26
+ /**
27
+ * Removes the leading white space and line terminator characters from a string.
28
+ * @deprecated A legacy feature for browser compatibility. Use `trimStart` instead
29
+ */
30
+ trimLeft(): string;
31
+
32
+ /**
33
+ * Removes the trailing white space and line terminator characters from a string.
34
+ * @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead
35
+ */
36
+ trimRight(): string;
37
+ }
@@ -0,0 +1,24 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface Symbol {
20
+ /**
21
+ * Expose the [[Description]] internal slot of a symbol directly.
22
+ */
23
+ readonly description: string | undefined;
24
+ }