UNPKG
robust-validator
Version:
latest (3.0.0)
3.0.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.1
2.0.0
2.0.0-rc-2
2.0.0-rc-1
1.1.1
1.1.0
1.0.2-canary-9
1.0.2-canary-8
1.0.2-canary-7
1.0.2-canary-6
1.0.2-canary-5
1.0.2-canary-4
1.0.2-canary-3
1.0.2-canary-2
1.0.2-canary-11
1.0.2-canary-10
1.0.2-canary-1
1.0.1
1.0.0
0.2.1
0.2.0
0.1.1
0.1.0
Rule-based data validation library
github.com/axe-api/validator
axe-api/validator
robust-validator
/
dist
/
Factory.d.ts
5 lines
(4 loc)
•
218 B
TypeScript
View Raw
1
2
3
4
5
import
{
IRuleDefinition
}
from
"./Interface"
;
import
{
RuleType
}
from
"./Types"
;
export
declare
const
toRuleDefinition
:
(
rule
:
string
) =>
IRuleDefinition
;
export
declare
const
toRuleType
:
(
name
:
string
) =>
RuleType
;