babel-eslint
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -174,2 +174,6 @@ var traverse = require("babel-core").traverse; | ||
if (t.isTypeCastExpression(node)) { | ||
return node.expression; | ||
} | ||
if (t.isFlow(node)) { | ||
@@ -176,0 +180,0 @@ return this.remove(); |
{ | ||
"name": "babel-eslint", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -127,2 +127,10 @@ /*eslint-env mocha*/ | ||
it("type cast expression", function () { | ||
verifyAndAssertMessages( | ||
"for (let a of (a: Array)) {}", | ||
{}, | ||
[] | ||
); | ||
}); | ||
it("class usage", function () { | ||
@@ -129,0 +137,0 @@ verifyAndAssertMessages( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24390
678