Skip to content

Quick fix is wrong for type used as value #36033

Closed
@DanielRosenwasser

Description

@DanielRosenwasser
// ./fileA.ts
export class Foo {
}

// ./fileB.ts
import type { Foo } from "./fileA.js";

class Derived extends /**/Foo {
}

Try to apply the quick fix for the error at /**/

addImportToWrongStatementWhatEven

Metadata

Metadata

Assignees

Labels

DuplicateAn existing issue was already created

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions