Skip to content

Request: the "no-duplicates" rule should support the 'declaration' style when importing flow types #1241

Open
@doberkofler

Description

@doberkofler

The "no-duplicates" correctly distinguishes Flow type imports from standard imports.

import {myClass} from './mod'
import type {myType} from './mod'

When using the 'declaration' style this is no longer possible:

import {myClass} from './mod'
import {type myType} from './mod'

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