Skip to content

fix(solid-kit): return nothing from DateTimeField's toggle on every path - #62

Merged
b0czek merged 1 commit into
mainfrom
fix/solid-kit-datetime-toggle-return
Nov 26, 2026
Merged

b0czek merged 1 commit into
mainfrom
fix/solid-kit-datetime-toggle-return

Conversation

@b0czek

@b0czek b0czek commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Solid-kit ships TypeScript source, so apps type-check it with their own compiler settings. Ctrl uses noImplicitReturns, and 0.17.1's DateTimeField failed there: the open/close handler returned setOpen(false) on one path and nothing on the other. It now returns nothing on both paths.

Verified with tsc --noEmit --noImplicitReturns on solid-kit. pnpm lint and the solid-kit tests also pass.

Apps that type-check solid-kit's source with noImplicitReturns failed on
DateTimeField.
@b0czek
b0czek merged commit c7083df into main Nov 26, 2026
10 checks passed
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