https://github.com/Microsoft/TypeScript
Raw File
Tip revision: e4787d1e049e3e0df31d5643ccaa2518463ef273 authored by Daniel Rosenwasser on 09 January 2020, 00:08:00 UTC
Update LKG.
Tip revision: e4787d1
es2020.string.d.ts
/// <reference lib="es2015.iterable" />

interface String {
    /**
     * Matches a string with a regular expression, and returns an iterable of matches
     * containing the results of that search.
     * @param regexp A variable name or string literal containing the regular expression pattern and flags.
     */
    matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>;
}
back to top