livr
Version:
Lightweight validator supporting Language Independent Validation Rules Specification
10 lines (8 loc) • 305 B
TypeScript
// Type inference for 'positive_decimal' rule
import type { RuleTypeDef } from '../../../types/inference';
declare module '../../../types/inference' {
interface RuleTypeRegistry {
positive_decimal: RuleTypeDef<number, false, false>;
positiveDecimal: RuleTypeRegistry['positive_decimal'];
}
}