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