An empty interface changes the type of my method, why? Maybe a bug ? Intended?

前端 未结 0 1117

BEFORE:

interface WeatherApiError {}: (method) getCityWeather(city: string): Promise

相关标签:
回答
  • 消灭零回复
提交回复
热议问题