Skip to content

Commit

Permalink
fixup! Update: Ignore type aliases in space-infix-ops (fixes eslint#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
madbence committed Oct 5, 2018
1 parent 3b29549 commit 747244c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/rules/space-infix-ops.js
Expand Up @@ -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> = T;", parserOptions: { ecmaVersion: 6 }, parser: parser("typescript-parsers/type-alias") }
{ code: "type Foo<T> = T;", parserOptions: { ecmaVersion: 6 }, parser: parser("typescript-parsers/type-alias") }
],
invalid: [
{
Expand Down

0 comments on commit 747244c

Please sign in to comment.