fixed babel submodule setup
This commit is contained in:
parent
66a9685605
commit
163240b9b2
3 changed files with 26 additions and 1 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "babel"]
|
||||||
|
path = babel
|
||||||
|
url = git@github.com:polsevev/babel.git
|
1
babel
Submodule
1
babel
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 380d186b77d32734c595652a40cbda5e4e109c5c
|
23
src/index.ts
23
src/index.ts
|
@ -1,5 +1,26 @@
|
||||||
import * as babelparser from "../babel/packages/babel-parser";
|
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();
|
main();
|
||||||
|
|
Loading…
Reference in a new issue