Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composing Store lose typescript type #2664

Closed
defghy opened this issue May 10, 2024 · 1 comment
Closed

Composing Store lose typescript type #2664

defghy opened this issue May 10, 2024 · 1 comment

Comments

@defghy
Copy link

defghy commented May 10, 2024

Reproduction

placeholder

Steps to reproduce the bug

In defineStore composing function, type is right
image

The ReturnValue of defineStore(), type transfer to specific object, which is not right
image

I cannot use the object as BoardData
image

Expected behavior

BoardData type not change.

Actual behavior

why BoardData transfer to specific { boardId: ''...} ?

Additional information

No response

@posva
Copy link
Member

posva commented May 10, 2024

Open a question with the code in discussions or on Discord if you want help

@posva posva closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
@vuejs vuejs locked as spam and limited conversation to collaborators May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants