来源:https://stackoverflow.com/questions/63551792/typescript-w-react-how-do-i-properly-type-the-updater-returned-by-usestate-w 标签 reactjs typescript react-hooks typescript-typings use-state