Closed JiuRanYa closed 2 years ago
Hello, thank you for taking time filling this issue!
However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).
I hope to see your helper-created issue very soon!
sendbox: https://codesandbox.io/s/xenodochial-engelbart-w9ehy0?file=/src/main.ts
if you use createstore like vuex'doc in ts file, you can't get the correct type like this:
I checked the createstore's ts interface, it's an object:
so you need to write code like this in order to get the correct type:
expected: when you use the way of vuex's docs in ts, get the correct ts type;
How to solve the problem:
I'd like to handle this issue