UNPKG

@vue-jsx-vapor/babel

Version:
8 lines (7 loc) 359 B
import { JSXElement, JSXFragment, Node } from "@babel/types"; import { NodePath } from "@babel/traverse"; //#region src/utils.d.ts declare function isConditionalExpression(path: NodePath<Node> | null): boolean; declare function isJSXElement(node?: Node | null): node is JSXElement | JSXFragment; //#endregion export { isConditionalExpression, isJSXElement };