Thunk 디스패치 대기 결과를 입력하려면 어떻게 해야 하는가? 나는 비동기적으로 끈을 돌려주는 컹크의 결과를 기다리고 싶다.내 문제는 마지막 줄에 있어 어떻게 타이프를 치는지 모르겠어cityName로서string. // 오류, 'ThunkAction, AppState, undefined, any>' 형식은 'string' 형식에 할당할 수 없음. 코드는 의도대로 작동하는데, 유감스럽게도 내가 타이핑을 해야 한다.cityName로서any const getCity = (): Thunk => async ( dispatch, getState ): Promise => { // ... const city = await fetchCityApi(query); dispatch(setUserCity(city)); ret..