You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
InferStructuralSharing missing in published types (esm/cjs) #5116
After updating from @tanstack/router 1.129.8 to 1.131.36 I got typescript compilation errors for the distributed types:
node_modules/@tanstack/react-router/dist/esm/index.d.ts:49:36 - error TS2305: Module '"./typePrimitives.js"' has no exported member 'InferStructuralSharing'.
49 export type { ValidateLinkOptions, InferStructuralSharing, ValidateUseSearchOptions, ValidateUseParamsOptions, ValidateLinkOptionsArray, } from './typePrimitives.js';
~~~~~~~~~~~~~~~~~~~~~~
When reviewing the node_modules/@tanstack/react-router/dist/esm/typePrimitives.d.ts file, it lacks the InferStructuralSharing type.
Version 1.129.8 includes this type, defined in typePrimitives.d.ts as
Activity
fix: restore InferStructuralSharing and handleHashScroll in published…