Skip to content

Commit

Permalink
Merge pull request #151 from seasonedcc/change-parserschema-type
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavoguichard authored Jun 13, 2024
2 parents d5f92c0 + 0594124 commit 36cbd8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ type ParserSchema<T extends unknown = unknown> = {
}
| {
success: false
error: { issues: { path: Array<string | number>; message: string }[] }
error: {
issues: ReadonlyArray<{ path: PropertyKey[]; message: string }>
}
}
}

Expand Down

0 comments on commit 36cbd8b

Please sign in to comment.