Skip to content

Duplicate suggestions for react #41465

@Mangatt

Description

@Mangatt

TS Template added by @mjbvz

TypeScript Version: 4.2.0-dev.20201103

Search Terms

  • react
  • types
  • ata type acquisition

  • VSCode Version: 1.51.0
  • OS Version: Win 10 2004

Steps to Reproduce:

  1. Use Intellisense to auto import useEffect from React (just for example, this happens with multiple libraries)
  2. When you choose useEffect, import is placed correctly on same line as React
  3. If you choose React.useEffect, import is placed on new line

Does this issue occur when all extensions are disabled?: Yes

Problem:
1-1
1-2

Correct behavior:
2-1
2-2

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptNeeds More InfoThe issue still hasn't been fully clarified

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions