diff --git a/src/types.ts b/src/types.ts index f6b1fd5c..f7487a12 100644 --- a/src/types.ts +++ b/src/types.ts @@ -158,7 +158,7 @@ type Last = T extends [...infer _I, infer L] */ type AtLeastOne }> = Partial & U[keyof U] -type ParserIssue = { path: (string | number | symbol)[]; message: string } +type ParserIssue = { path: PropertyKey[]; message: string } type ParserResult = | {