From df2f963a4dcffb41d574f283501f3383b43a91f9 Mon Sep 17 00:00:00 2001 From: dfahlander Date: Tue, 2 Jul 2024 00:39:03 +0200 Subject: [PATCH] Another reason why #2026 failed - KeyPathValue should evaluate to `any`. --- src/public/types/keypaths.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/types/keypaths.d.ts b/src/public/types/keypaths.d.ts index 51d5c1fc8..29cf441b2 100644 --- a/src/public/types/keypaths.d.ts +++ b/src/public/types/keypaths.d.ts @@ -28,4 +28,4 @@ export type KeyPathValue = PATH extends `${infer R}.${infer S}` : void : PATH extends keyof T ? T[PATH] - : void; + : any;