Skip to content

TypeScript's "export import" is treated as import #1829

Closed

Description

TypeScript has a special syntax to re-export an namespace looks like export import <name> = <binding>. Currently eslint-plugin-import is treating them as imports and applies incorrect rules.

// with import/order, the "export import" line will cause an error
import { Point } from "./point";
export namespace SomeNamespace {
    export import Pt = Point;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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