UNPKG

@vue-macros/jsx-directive

Version:

jsxDirective feature from Vue Macros.

17 lines (16 loc) 603 B
import { OptionsResolved } from "./plugin-CC6fpHm9.js"; import "./index-BxOa7CYz.js"; import { CodeTransform } from "@vue-macros/common"; import { JSXAttribute, JSXElement, Node } from "@babel/types"; //#region src/core/index.d.ts type JsxDirective = { node: JSXElement; attribute: JSXAttribute; parent?: Node | null; vIfAttribute?: JSXAttribute; vForAttribute?: JSXAttribute; vMemoAttribute?: JSXAttribute; }; declare function transformJsxDirective(code: string, id: string, options: OptionsResolved): CodeTransform | undefined; //#endregion export { JsxDirective, transformJsxDirective };