📜  useappselector - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:21.727000             🧑  作者: Mango

代码示例1
//https://react-redux.js.org/tutorials/typescript-quick-start
import { useAppSelector} from 'app/hooks';

const count = useAppSelector((state) => state.counter.value);