elearning/Frontend-Learner/node_modules/eslint-plugin-regexp/dist/utils/fix-simplify-quantifier.d.ts
2026-01-13 10:48:02 +07:00

5 lines
389 B
TypeScript

import type { Quantifier } from "@eslint-community/regexpp/ast";
import type { Rule } from "eslint";
import type { CanSimplify } from "./regexp-ast";
import type { RegExpContext } from ".";
export declare function fixSimplifyQuantifier(quantifier: Quantifier, result: CanSimplify, { fixReplaceNode }: RegExpContext): [replacement: string, fix: (fixer: Rule.RuleFixer) => Rule.Fix | null];