From 747244c6437ff2c740d838aba53576f0182d5714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20D=C3=A1nyi?= Date: Fri, 5 Oct 2018 19:09:32 +0200 Subject: [PATCH] fixup! Update: Ignore type aliases in space-infix-ops (fixes #10922) --- tests/lib/rules/space-infix-ops.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/rules/space-infix-ops.js b/tests/lib/rules/space-infix-ops.js index 0c6de7981bef..61e78cbf0e2c 100644 --- a/tests/lib/rules/space-infix-ops.js +++ b/tests/lib/rules/space-infix-ops.js @@ -41,7 +41,7 @@ ruleTester.run("space-infix-ops", rule, { { code: "const foo = function(a: number = 0): Bar { };", parserOptions: { ecmaVersion: 6 }, parser: parser("type-annotations/function-expression-type-annotation") }, // TypeScript Type Aliases - { code: "Type Foo = T;", parserOptions: { ecmaVersion: 6 }, parser: parser("typescript-parsers/type-alias") } + { code: "type Foo = T;", parserOptions: { ecmaVersion: 6 }, parser: parser("typescript-parsers/type-alias") } ], invalid: [ {