Skip to content

fix: use loose types for JSON preset settings#1277

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/write-map-prompts-UfSW7
Feb 3, 2026
Merged

fix: use loose types for JSON preset settings#1277
braedonsaunders merged 1 commit into
mainfrom
claude/write-map-prompts-UfSW7

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

JSON imports have inferred types that don't match strict union types. Use a separate interface for preset suggestedSettings that allows any number/string values, then cast when applying.

https://claude.ai/code/session_013A4wJ7binPYSA1DuVUmHNn

JSON imports have inferred types that don't match strict union types.
Use a separate interface for preset suggestedSettings that allows
any number/string values, then cast when applying.

https://claude.ai/code/session_013A4wJ7binPYSA1DuVUmHNn
@braedonsaunders braedonsaunders merged commit ba8d2a1 into main Feb 3, 2026
4 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.

2 participants