export type StoreState = { hoge: { hoge: 'hoge' } fuga: { fuga: 'fuga' } } StoreState ã®åå®ç¾©æ¹æ³ã¯æ°éãããã¾ããããã®æ§ãªåå®ç¾©ããããã¨ãåæã§ãã æ®éã«æ¸ãã¨ãããªã ãã®æ¡ä»¶ã§useSelectorãå©ç¨ãã¦ã¿ã¾ããuseSelectorã® Generics ã«å¾ããé½åº¦StoreStateã import ãããããæ³¨å ¥ãã¦ãã¾ãããªãã ããã¾ãã¤ã±ã¦ã¾ããã import { useSelector } from 'react-redux' import { StoreState } from '../store' const Container: React.FC = () => { // const _hoge: "hoge" const _hoge = useSelector< St
{{#tags}}- {{label}}
{{/tags}}