cmd-ts icon indicating copy to clipboard operation
cmd-ts copied to clipboard

flag: fix defaultValue bug

Open echentw opened this issue 1 year ago • 2 comments

Right now, it ignores a default value set in FlagConfig and only uses the one set by the type field.

(I basically mirrored the code from option.ts)

echentw avatar Aug 19 '23 21:08 echentw

⚠️ No Changeset found

Latest commit: 64446db7225676bdfa9d8aee2510bcc1d816c485

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Aug 19 '23 21:08 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cmd-ts ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2023 9:39pm

vercel[bot] avatar Aug 19 '23 21:08 vercel[bot]