Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove useless private fields #1102

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Conversation

Rich-Harris
Copy link
Member

For reasons I don't understand, classes with private fields get an uninitialized #private property added to the emitted declaration file, causing this:

image

It's bizarre and useless, so we just remove it

(aside: SvelteMap and its siblings need some inline docs. ideally we'd be able to hide unnecessary properties and methods with @internal but that doesn't seem to work)

@Rich-Harris Rich-Harris merged commit 4dc828e into main Jan 9, 2025
4 checks passed
@Rich-Harris Rich-Harris deleted the remove-private-fields branch January 9, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant