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

4 lines
285 B
TypeScript

import type { RegExpLiteral, Pattern } from "@eslint-community/regexpp/ast";
import type { Rule } from "eslint";
import type { Expression } from "estree";
export declare function getRegExpNodeFromExpression(node: Expression, context: Rule.RuleContext): RegExpLiteral | Pattern | null;