We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@ice/store version: 2.0.3
通读了 docs 文件夹下的所有文档,没有找到解决办法。我个人定位的原因是 ModelEffects 类型定义错误导致。
Link to code example:
定义effects时能正确解析出第二个参数的类型
The text was updated successfully, but these errors were encountered:
@LongchongWang 试试这个解法呢 #143
Sorry, something went wrong.
我遇到了一样的问题,太诧异了,看recipes.md中的描述rootState指的是所有注册的model,而且已经配置好。
但TS提示的却只是当前model本身,我在使用时只能自己强制指定类型了:
一样的问题,增加类型定义后dispatch类型正常,rootState还是不对
No branches or pull requests
@ice/store version: 2.0.3
Steps To Reproduce
Link to code example:
The current behavior
The expected behavior
定义effects时能正确解析出第二个参数的类型
The text was updated successfully, but these errors were encountered: