UNPKG

babel-plugin-async-to-promises

Version:

Transpile ES7 async/await to vanilla ES6 Promise chains

6 lines (5 loc) 118 B
function test() { return Promise.resolve().then(function () { return db.destroy(); }).then(function () {}); }