ActiveOptions default is incorrect between LinkOptionsProps.activeOptions and the actual type
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.1k
- Forks
- 1.9k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 143
Description
The below line @default line mentions the default for link is the following:
when looking at ActiveOptions it shows a difference in the defaults, the above default also can't be found in the code for the link either.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open packages/router-core/src/link.ts and compare the @default line near line 666 with the ActiveOptions definition around lines 635-657. Confirm which default is represented by the actual type and update the link documentation so the stated default matches the code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100