use flow instead of flow-comments
This commit is contained in:
parent
b88182cacf
commit
937b8a6767
@ -45,14 +45,11 @@
|
||||
"loose": [
|
||||
"all"
|
||||
],
|
||||
"plugins": [
|
||||
"flow-comments"
|
||||
],
|
||||
"blacklist": [
|
||||
"flow",
|
||||
"es6.tailCall"
|
||||
],
|
||||
"optional": [
|
||||
"flow",
|
||||
"optimisation.flow.forOf",
|
||||
"runtime"
|
||||
],
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
function A() {
|
||||
var a = undefined;
|
||||
var a = void 0;
|
||||
}
|
||||
|
||||
function B() {
|
||||
var a = undefined;
|
||||
var a = void 0;
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
return i;
|
||||
});
|
||||
return {
|
||||
v: undefined
|
||||
v: void 0
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
while (value) {
|
||||
var foo = undefined;
|
||||
var foo = void 0;
|
||||
|
||||
if (bar) {
|
||||
foo = [];
|
||||
|
||||
@ -22,8 +22,8 @@ var Foo = function (_Bar) {
|
||||
var ConstructorScoping = function ConstructorScoping() {
|
||||
babelHelpers.classCallCheck(this, ConstructorScoping);
|
||||
|
||||
var bar = undefined;
|
||||
var bar = void 0;
|
||||
{
|
||||
var _bar = undefined;
|
||||
var _bar = void 0;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user