Skip to content

JSON Schema Form API / @xunserver-jsf/core / defineForm

Function: defineForm() ​

defineForm<T>(definition): T

Defined in: core/src/definition/define-form.ts:8

无副作用组装 FormDefinition。不编译、不创建 Runtime、不注册全局状态。

Type Parameters ​

T ​

T extends FormDefinition

Parameters ​

definition ​

T & ExactKeys<T, FormDefinition>

Returns ​

T