sveltejs / sveltejs/kit

Tweak visibility of certain types

Open
#7,855 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change types / typescript
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:

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.