来源:https://stackoverflow.com/questions/63633198/type-for-the-setstate-function-of-the-usestate-hook 标签 reactjs typescript react-hooks typescript-typings use-state