Tweak visibility of certain types
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 20.8k
- Forks
- 2.3k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 156
Description
Describe the problem
There are some utility types that are exported from @sveltejs/kit but only so they can be imported by the generated $types.d.ts files. In the docs, they look rather chaotic:

Describe the proposed solution
I'm not really sure what to do with these — they are technically public types, but it would be nice if they weren't.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
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
Start by examining the utility types exported from @sveltejs/kit and how the generated $types.d.ts files consume them. Review how these exports appear in the documentation and determine an agreed visibility approach; the issue does not define a specific implementation or completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100