use flow instead of flow-comments

This commit is contained in:
Henry Zhu 2016-03-03 18:04:45 -05:00
parent b88182cacf
commit 937b8a6767
5 changed files with 7 additions and 10 deletions

View File

@ -45,14 +45,11 @@
"loose": [
"all"
],
"plugins": [
"flow-comments"
],
"blacklist": [
"flow",
"es6.tailCall"
],
"optional": [
"flow",
"optimisation.flow.forOf",
"runtime"
],

View File

@ -1,7 +1,7 @@
function A() {
var a = undefined;
var a = void 0;
}
function B() {
var a = undefined;
var a = void 0;
}

View File

@ -4,7 +4,7 @@
return i;
});
return {
v: undefined
v: void 0
};
};

View File

@ -1,5 +1,5 @@
while (value) {
var foo = undefined;
var foo = void 0;
if (bar) {
foo = [];

View File

@ -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;
}
};