An async function or method in ES5/ES3 requires the ‘Promise‘ constructor. Make sure you have a dec
An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.
原创
2023-08-15 11:01:17 ·
783 阅读 ·
0 评论