diff --git a/src/types.ts b/src/types.ts index e00c3c8..1c25abe 100644 --- a/src/types.ts +++ b/src/types.ts @@ -169,7 +169,9 @@ type ParserSchema = { } | { success: false - error: { issues: { path: Array; message: string }[] } + error: { + issues: ReadonlyArray<{ path: PropertyKey[]; message: string }> + } } }