From 49087d8870cc6c96da62df920f8ee1f41be3ad29 Mon Sep 17 00:00:00 2001 From: Diogo Biazus Date: Mon, 18 Sep 2023 09:24:50 -0400 Subject: [PATCH] Update src/types.ts Co-authored-by: Guga Guichard --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = | {