Skip to content

Add quick fix for XXX has or is using name 'Foo' from external module "../bar" but cannot be named  #22132

Closed
@mhegazy

Description

@mhegazy

A fix will need to:

  1. Import the missing type
  2. Add an explicit type annotation to the declaration that is causing the error using the imported type

More discussion in #9944

Metadata

Metadata

Assignees

Labels

Domain: Declaration EmitThe issue relates to the emission of d.ts filesDomain: Quick FixesEditor-provided fixes, often called code actions.SuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions