UNPKG

@vtj/coder

Version:

VVTJ.PRO 是一个开源的、AI 驱动的 Vue3 企业级应用开发平台,通过 AI 智能体与可视化编排实现高效开发,并支持导出标准 Vue 代码以避免平台锁定。

12 lines (11 loc) 572 B
import { JSExpression, JSFunction, JSONValue } from '@vtj/core'; import { SymbolTable } from './symbolTable'; /** * 解析 reactives 声明: * { form: { name: '' } } → ['const form = reactive({ "name": "" });'] */ export declare function parseReactives(reactives: Record<string, JSONValue | JSExpression> | undefined, symbols: SymbolTable): string[]; /** * state 作为一个 reactive 输出(如果非空) */ export declare function parseStateAsReactive(state: Record<string, JSONValue | JSExpression | JSFunction> | undefined, symbols: SymbolTable): string;