Skip to content

Conversation

andersk
Copy link

@andersk andersk commented Aug 6, 2025

Why am I submitting this PR

It seems these arguments are always provided to the defaultValue function. (This doesn’t prevent the function from ignoring them: for example, { defaultValue: () => "hello" } still satisfies this type.)

Does it fix an existing ticket?

No

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • do no modify the version in package.json or CHANGELOG.md
  • tests are included and pass: yarn test (see details here)
  • documentation is changed or added

It seems these arguments are always provided to the defaultValue
function.  (This doesn’t prevent the function from ignoring them: for
example, `{ defaultValue: () => "hello" }` still satisfies this type.)

Signed-off-by: Anders Kaseorg <[email protected]>
@adrai
Copy link
Member

adrai commented Oct 1, 2025

fyi: #1148

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