Error: Type 'XX' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value

前端 未结 0 696
小蘑菇
小蘑菇 2021-01-30 08:06

I don\'t understand why handle3 is getting this error.

All the three methods is the same with different notation, isn\'t it? Is this a bug of ts?



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