Skip to content

Commit

Permalink
Another reason why #2026 failed - KeyPathValue<string> should evaluat…
Browse files Browse the repository at this point in the history
…e to `any`.
  • Loading branch information
dfahlander committed Jul 1, 2024
1 parent 4cfa6ec commit df2f963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/types/keypaths.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ export type KeyPathValue<T, PATH> = PATH extends `${infer R}.${infer S}`
: void
: PATH extends keyof T
? T[PATH]
: void;
: any;

0 comments on commit df2f963

Please sign in to comment.