UNPKG

eslint-plugin-regexp

Version:

ESLint plugin for finding RegExp mistakes and RegExp style guide violations.

10 lines (9 loc) 354 B
/// <reference types="@eslint-community/regexpp" /> import type { Quantifier } from "@eslint-community/regexpp/ast"; export declare function getQuantifierOffsets(qNode: Quantifier): [number, number]; export interface Quant { min: number; max: number; greedy?: boolean; } export declare function quantToString(quant: Readonly<Quant>): string;