Problems related to Code hints in vscode

problem description

write the following code in index.js

   

so how to describe the interface type in JsDoc or is there any other way to solve the problem suggested by this code


Hello, everyone. I am the questioner. After debugging, I found that the above problem may not be the problem hinted by the code.
below is my test code, and I find that the return value of createStore () is not of Store interface type but of any type

.


store.dispatch(action)


clipboard.png

clipboard.png

guess that there is a problem with the store returned by createStore ().

is there any expert who is familiar with redux to help solve the confusion? thank you very much

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34899-e46f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34899-e46f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?