add test for babel/babel-eslint#66
This commit is contained in:
parent
47a771a7b1
commit
7fa06fa566
@ -124,7 +124,15 @@ describe("verify", function () {
|
||||
);
|
||||
});
|
||||
|
||||
it("type cast expression", function () {
|
||||
it("flow type", function () {
|
||||
verifyAndAssertMessages(
|
||||
"type SomeNewType = any;",
|
||||
{},
|
||||
[]
|
||||
);
|
||||
});
|
||||
|
||||
it("type cast expression #102", function () {
|
||||
verifyAndAssertMessages(
|
||||
"for (let a of (a: Array)) {}",
|
||||
{},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user