Skip to content

Comments

fix(computedAsync): type signature#4207

Merged
antfu merged 1 commit intovueuse:mainfrom
ferferga:correct-types
Sep 12, 2024
Merged

fix(computedAsync): type signature#4207
antfu merged 1 commit intovueuse:mainfrom
ferferga:correct-types

Conversation

@ferferga
Copy link
Member

@ferferga ferferga commented Sep 6, 2024

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

Description

When no initial value is provided, the return type was Ref<T> instead of Ref<T | undefined>.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 6, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants