mirror of
https://github.com/tc39/test262.git
synced 2025-06-05 06:30:28 +02:00
* Add tests for regexp-match-indices * Add tests for unicode matches based on presence of /u flag * Added deepEqual helper, PR feedback
15 lines
340 B
TypeScript
15 lines
340 B
TypeScript
declare function $ERROR(text: string): void;
|
|
|
|
// Proposal: regexp-match-indices
|
|
interface RegExpExecArray {
|
|
indices: RegExpIndicesArray;
|
|
}
|
|
|
|
interface RegExpMatchArray {
|
|
indices: RegExpIndicesArray;
|
|
}
|
|
|
|
interface RegExpIndicesArray extends Array<[number, number]> {
|
|
groups?: { [group: string]: [number, number] };
|
|
}
|