๐Ÿ“ฆ facebook / react-native

๐Ÿ“„ ansi-regex_v5.x.x.js ยท 15 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15/**
 * @flow strict
 * @format
 */

declare module 'ansi-regex' {
  declare export type Options = {
    /**
     * Match only the first ANSI escape.
     */
    +onlyFirst?: boolean,
  };
  declare export default function ansiRegex(options?: Options): RegExp;
}