TypeScript/src/lib/es2020.string.d.ts
2019-07-18 15:06:56 +03:00

11 lines
394 B
TypeScript

/// <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>;
}