You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

5 lines
394 B

import type { Literal, RegExpLiteral } from "estree";
import type { JSONLiteral, JSONRegExpLiteral } from "./ast";
export declare function isRegExpLiteral(node: JSONLiteral): node is JSONRegExpLiteral;
export declare function isRegExpLiteral(node: Literal): node is RegExpLiteral;
export declare function isRegExpLiteral(node: JSONLiteral | Literal): node is JSONRegExpLiteral | RegExpLiteral;