UNPKG
@rucire/jxson-vue
Version:
latest (0.1.0)
0.1.0
A powerful JSON editor component for Vue 3 by Rucire
github.com/rucire/jxSon
rucire/jxSon
@rucire/jxson-vue
/
dist
/
utils
/
validation.d.ts
5 lines
(4 loc)
•
272 B
TypeScript
View Raw
1
2
3
4
5
import
{
Field
,
ValidationResult
,
FieldType
}
from
'../types'
;
export
declare
function
validateField
(
field
:
Field
):
ValidationResult
;
export
declare
function
validateFields
(
fields
:
Field
[]
):
ValidationResult
;
export
declare
function
getDefaultValue
(
type
:
FieldType
):
any
;