router
router copied to clipboard
Module '"@tanstack/react-router"' has no exported member 'PickAsRequired'.
Describe the bug
As title, I cannot export PickAsRequired or PickAsPartial types according to kitchen query example
Your Example Website or App
https://tanstack.com/router/latest/docs/framework/react/examples/kitchen-sink-react-query
Steps to Reproduce the Bug or Issue
- Go to: kitchen-sink-example
- Open mockTodo.ts
- Check import at 1st line
import { PickAsPartial, PickAsRequired } from '@tanstack/react-router'
Expected behavior
I should be able to import exported type PickAsPartial, PickAsRequired
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response
This is an mistake on our part. We were previously mistakenly re-exporting our internal types.
We won't be reporting these types, since they are not part of our public api surface.
The just requires the examples to be fixed.