File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export function validate<TValue>(
5757 return formStateReducer < TValue > ( stateOrFunctionOrFunctionArray , new SetErrorsAction ( stateOrFunctionOrFunctionArray . id , errors ) ) ;
5858 }
5959
60- const functionOrFunctionArray = stateOrFunctionOrFunctionArray as ValidationFn < TValue > | ValidationFn < TValue > [ ]
60+ const functionOrFunctionArray = stateOrFunctionOrFunctionArray as ValidationFn < TValue > | ValidationFn < TValue > [ ] ;
6161 let updateFnArr = Array . isArray ( functionOrFunctionArray ) ? functionOrFunctionArray : [ functionOrFunctionArray ] ;
6262 updateFnArr = functionOrFunctionArr === undefined ? updateFnArr : updateFnArr . concat ( functionOrFunctionArr ) ;
6363 return ( s : AbstractControlState < TValue > ) => validate < TValue > ( ensureState ( s ) , updateFnArr . concat ( rest ) ) ;
You can’t perform that action at this time.
0 commit comments