diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5c49cfc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "babel"] + path = babel + url = git@github.com:polsevev/babel.git diff --git a/babel b/babel new file mode 160000 index 0000000..380d186 --- /dev/null +++ b/babel @@ -0,0 +1 @@ +Subproject commit 380d186b77d32734c595652a40cbda5e4e109c5c diff --git a/src/index.ts b/src/index.ts index c691f34..608e9ee 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,26 @@ import * as babelparser from "../babel/packages/babel-parser"; -const main = (): void => {}; +/* +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();