Skip to content

Expand types & fix schema#11

Merged
komed3 merged 11 commits intomasterfrom
expand-types
Apr 12, 2026
Merged

Expand types & fix schema#11
komed3 merged 11 commits intomasterfrom
expand-types

Conversation

@komed3
Copy link
Copy Markdown
Contributor

@komed3 komed3 commented Apr 12, 2026

Currently, types are not being unfolded correctly, and the resulting JSON schema is incomplete. This issue results due to incorrect handling of connected types using the & operator.

We'll address this problem by stabilizing the collection wrapper and, most importantly, using Expand<T> from the devtypes package. This type flattens intersections for clearer hover tooltips and autocompletion. It does not change the type itself but improves editor readability.

@komed3 komed3 self-assigned this Apr 12, 2026
@komed3 komed3 added the bug Something isn't working label Apr 12, 2026
@komed3 komed3 merged commit 787482a into master Apr 12, 2026
1 check passed
@komed3 komed3 deleted the expand-types branch April 12, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant