26 lines
313 B
TypeScript
26 lines
313 B
TypeScript
import * as babelparser from "../babel/packages/babel-parser";
|
|
|
|
/*
|
|
proposal await_to_promise {
|
|
applicable to {
|
|
let a = await b();
|
|
console.log(b);
|
|
}
|
|
|
|
transform to {
|
|
b().then((a) => {
|
|
console.log(a);
|
|
})
|
|
}
|
|
|
|
}
|
|
|
|
|
|
*/
|
|
|
|
|
|
const main = (
|
|
|
|
): void => {};
|
|
|
|
main();
|