From b495d1ad4160cf3ad4830a1b8656d7d7ea3d5b7d Mon Sep 17 00:00:00 2001 From: Vedant Pahune Date: Thu, 11 Sep 2025 19:18:19 +0000 Subject: [PATCH] fix: restore missing InferStructuralSharing and handleHashScroll in published package --- packages/react-router/src/typePrimitives.ts | 2 +- packages/router-core/src/scroll-restoration.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-router/src/typePrimitives.ts b/packages/react-router/src/typePrimitives.ts index aa1e6a4cc86..317ab260c86 100644 --- a/packages/react-router/src/typePrimitives.ts +++ b/packages/react-router/src/typePrimitives.ts @@ -32,7 +32,7 @@ export type ValidateLinkOptions< > /** - * @internal + * @private */ export type InferStructuralSharing = TOptions extends { structuralSharing: infer TStructuralSharing diff --git a/packages/router-core/src/scroll-restoration.ts b/packages/router-core/src/scroll-restoration.ts index 9907878bfaf..0168faadae8 100644 --- a/packages/router-core/src/scroll-restoration.ts +++ b/packages/router-core/src/scroll-restoration.ts @@ -346,7 +346,7 @@ export function setupScrollRestoration(router: AnyRouter, force?: boolean) { } /** - * @internal + * @private * Handles hash-based scrolling after navigation completes. * To be used in framework-specific components during the onResolved event. *