elearning/Frontend-Learner/node_modules/eslint-plugin-regexp/dist/utils/regexp-ast/ast.d.ts

5 lines
285 B
TypeScript
Raw Normal View History

2026-01-13 10:46:40 +07:00
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;