4 lines
285 B
TypeScript
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;
|