schema icon indicating copy to clipboard operation
schema copied to clipboard

`refine` api. `nextNotValid` should return `never` type

Open o-alexandrov opened this issue 2 years ago • 0 comments

Since nextNotValid is throwing the validation, meaning the refine won't return the value:

  • how about setting return type as never, so the return type is unaffected?

o-alexandrov avatar Mar 31 '22 19:03 o-alexandrov