mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
Update the @typescript-eslint - eslint-plugin and parser to v7.18.0 cia incremental patches. This is the last version before breaking changes need to start be applied to the infrastructure. Needed to update EsLint to v8.56.0 as required by the above major v7. Only one new error was uncovered in test file and fixed. No-Presubmit: true Bug: none Change-Id: I4e4fe265b82deeb49786c5bf3e154dac8fcfecbd Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6054130 Reviewed-by: Danil Somsikov <dsv@chromium.org> Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
22 lines
610 B
TypeScript
22 lines
610 B
TypeScript
/**
|
|
* GraphemerIterator
|
|
*
|
|
* Takes a string and a "BreakHandler" method during initialisation
|
|
* and creates an iterable object that returns individual graphemes.
|
|
*
|
|
* @param str {string}
|
|
* @return GraphemerIterator
|
|
*/
|
|
declare class GraphemerIterator implements Iterator<string> {
|
|
private _index;
|
|
private _str;
|
|
private _nextBreak;
|
|
constructor(str: string, nextBreak: (str: string, index: number) => number);
|
|
[Symbol.iterator](): this;
|
|
next(): {
|
|
value: string;
|
|
done: boolean;
|
|
};
|
|
}
|
|
export default GraphemerIterator;
|
|
//# sourceMappingURL=GraphemerIterator.d.ts.map
|