intelephense

1.14.41.16.1
lib/lib.es2020.symbol.wellknown.d.ts
lib/lib.es2020.symbol.wellknown.d.ts
+5−1
Index: package/lib/lib.es2020.symbol.wellknown.d.ts
===================================================================
--- package/lib/lib.es2020.symbol.wellknown.d.ts
+++ package/lib/lib.es2020.symbol.wellknown.d.ts
@@ -26,12 +26,16 @@
      */
     readonly matchAll: unique symbol;
 }
 
+interface RegExpStringIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
+    [Symbol.iterator](): RegExpStringIterator<T>;
+}
+
 interface RegExp {
     /**
      * Matches a string with this regular expression, and returns an iterable of matches
      * containing the results of that search.
      * @param string A string to search within.
      */
-    [Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray>;
+    [Symbol.matchAll](str: string): RegExpStringIterator<RegExpMatchArray>;
 }