Skip to content

fix(types): disallow parseArgs option defaults - #184

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-parse-args-default-type
Aug 5, 2026
Merged

fix(types): disallow parseArgs option defaults#184
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-parse-args-default-type

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR makes the internal parseArgs contract match its intended scope by rejecting option defaults at type-check time. It prevents callers from relying on default behavior that the kebab-case and camelCase alias merge does not support.

Related Links

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: e53cfdb
Status: ✅  Deploy successful!
Preview URL: https://f938f5e1.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-parse-args-de.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan force-pushed the chenjiahan/fix-parse-args-default-type branch from cde6a4f to e53cfdb Compare August 5, 2026 02:57
@chenjiahan
chenjiahan merged commit 3275987 into main Aug 5, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-parse-args-default-type branch August 5, 2026 03:02
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