You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constFormSchema=pipe(object({password: pipe(string(),minLength(6),maxLength(18)),confirmPassword: string(),}),forward(partialCheck([['password'],['confirmPassword']],(input)=>input.password===input.confirmPassword,'The two passwords do not match.'),['confirmPassword']));
I don't get errors in TypeScript language services, but the reproduction example fails to compile in tsc / vue-tsc.
The two errors are:
error TS2589: Type instantiation is excessively deep and possibly infinite.
error TS2339: Property 'confirmPassword' does not exist on type '{ password: string; }'