Skip to content

Import statements can get messed up in TS #24

Description

@kurtextrem

Hi again, this one is a bit harder to reproduce exactly, because Weave seems to automatically do this:

Base:

import type { Foo } from "./foo"
import {
     type a,
     type b,
     type c,
} from "./foo"

Incoming change:

import {
     type Foo,
     type a,
     type b,
     type c,
} from "./foo"

What I've seen Weave produce a few times is this:
After:

     type Foo,
     type a,
     type b,
     type c,
} from "./foo"

(note the dropped import {)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions