react-validatables
Advanced tools
Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8
@@ -1,2 +0,2 @@ | ||
import { InferOptionalWaitableAndBindingValueTypes, TypeOrPromisedType, WaitableDependencies } from 'react-waitables'; | ||
import { InferRequiredWaitableAndBindingValueTypes, TypeOrPromisedType, WaitableDependencies } from 'react-waitables'; | ||
import type { ValidationChecker, ValidationCheckerArgs } from '../validator/types/validation-checker'; | ||
@@ -16,3 +16,3 @@ import type { Validator } from '../validator/types/validator'; | ||
*/ | ||
export declare const useValidator: <DependenciesT extends WaitableDependencies>(dependencies: DependenciesT | undefined, validators: (dependencyValues: InferOptionalWaitableAndBindingValueTypes<DependenciesT>, dependencies: DependenciesT, args: ValidationCheckerArgs) => TypeOrPromisedType<ValidationChecker<InferOptionalWaitableAndBindingValueTypes<DependenciesT>> | undefined>, { id, disabledUntil: disabledUntilBindings, disabledWhile: disabledWhileBindings, disabledWhileUnmodified: disabledWhileUnmodifiedBindings, limitMSec, limitMode, limitType, priority, queue }?: UseValidatorArgs) => Validator; | ||
export declare const useValidator: <DependenciesT extends WaitableDependencies>(dependencies: DependenciesT | undefined, validators: (dependencyValues: InferRequiredWaitableAndBindingValueTypes<DependenciesT>, dependencies: DependenciesT, args: ValidationCheckerArgs) => TypeOrPromisedType<ValidationChecker<InferRequiredWaitableAndBindingValueTypes<DependenciesT>> | undefined>, { id, disabledUntil: disabledUntilBindings, disabledWhile: disabledWhileBindings, disabledWhileUnmodified: disabledWhileUnmodifiedBindings, limitMSec, limitMode, limitType, priority, queue }?: UseValidatorArgs) => Validator; | ||
//# sourceMappingURL=use-validator.d.ts.map |
{ | ||
"name": "react-validatables", | ||
"version": "1.0.0-alpha.7", | ||
"version": "1.0.0-alpha.8", | ||
"description": "Validation tools for React built on react-waitables", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package