我有一个延迟加载的存储,它返回一个带有整个应用程序存储的特定选择器(即它不会减少)。此index.ts中的其他选择器将被正确减少。当我试图从一个组件调用这个选择器时: console.log(res);我得到了一个打字错误,上面写着:
error TS2345: Argument of type '(state: State) => boolean' is n
/Game')) , 1000)Error : Error:(6,35) TS2345:'Promise<typeof import("D:/PROGECTS/SnakeReactReduxTS/snake-react-redux-ts/src/Components/Stages/Game")>‘is not type to TS2345 to type '{ Promise</em