Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

space-infix-ops fails for mapped type declarations #449

Closed
@nevir

Description

@nevir

What version of TypeScript are you using?

2.7.1

What version of typescript-eslint-parser are you using?

14.0.0

What code were you trying to parse?

export type FieldArguments<TArgTypes = JsonScalar> = NestedObject<TArgTypes>;

What did you expect to happen?

No error with space-infix-ops: error

What happened?

Infix operators must be spaced

Repro

If you check out https://github.com/convoyinc/apollo-cache-hermes, and uncomment the space-infix-ops rule, it'll generate this error at a few locations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions