X 归档 2018-10-01
Visual Studio Code can now convert your long chains of Promise.then()'s into async/await! 🎊 Works very well in both JavaScript and TypeScript files. .catch() is also correctly converted to try/catch ✅
Visual Studio Code 现在能把冗长的 Promise.then() 链转换成 async/await 了!🎊 在 JavaScript 和 TypeScript 文件里都很好用。.catch() 也能正确转换为 try/catch ✅
