UNPKG
yhui-yuanhuan
Version:
latest (0.0.10)
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
A Component Library for Vue 3 based on element-plus
yhui-yuanhuan
/
lib
/
utils
/
vue
/
validator.d.ts
4 lines
(3 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
import
type
{
ComponentSize
,
DatePickType
}
from
'yhui/es/constants'
;
export
declare
const
isValidComponentSize
:
(
val
:
string
) =>
val is
ComponentSize
|
""
;
export
declare
const
isValidDatePickType
:
(
val
:
string
) =>
val is
DatePickType
;