Skip to content

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