function App(){ } -> const App:React.FC = () => { }

화살표 함수로 바꿔주기

함수에 type 지정하기

App:React.FC → React.FunctionComponent