Skip to content

Commit

Permalink
Update src/types.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Guga Guichard <[email protected]>
  • Loading branch information
diogob and gustavoguichard authored Sep 18, 2023
1 parent e7f0539 commit 49087d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ type Last<T extends readonly unknown[]> = T extends [...infer _I, infer L]
*/
type AtLeastOne<T, U = { [K in keyof T]: Pick<T, K> }> = Partial<T> & U[keyof U]

type ParserIssue = { path: (string | number | symbol)[]; message: string }
type ParserIssue = { path: PropertyKey[]; message: string }

type ParserResult<T> =
| {
Expand Down

0 comments on commit 49087d8

Please sign in to comment.