版博士V2.0程序
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.

utils.d.ts 394 B

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