You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e4a56e5
Browse filesBrowse the repository at this point in the historyBrowse files
fix: keep type: "string" when an untyped empty const/enum is dropped for Gemini
- Dropping an empty-string `const`/`enum` from a node without `type` left `{}`, which accepts any value; set `type: "string"` instead
- Leave an empty `enum: []` untouched rather than treating it as all-empty-strings
- Add tests for untyped `const`, untyped `enum`, nullable literal, and empty `enum`
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments