main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
539 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import { StateValidator, UseStateValidatorReturn, ValidityState } from './useStateValidator';
|
---|
| 2 | export declare type MultiStateValidatorStates = any[] | {
|
---|
| 3 | [p: string]: any;
|
---|
| 4 | } | {
|
---|
| 5 | [p: number]: any;
|
---|
| 6 | };
|
---|
| 7 | export declare type MultiStateValidator<V extends ValidityState, S extends MultiStateValidatorStates> = StateValidator<V, S>;
|
---|
| 8 | export declare function useMultiStateValidator<V extends ValidityState, S extends MultiStateValidatorStates>(states: S, validator: MultiStateValidator<V, S>, initialValidity?: V): UseStateValidatorReturn<V>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.