-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version: 2.8.1 (VsCode and the tsconfig.json)
Search Terms: refactoring, import, typescript
Code
import * as React from "react";
import { connect } from "react-redux";
From there, in VsCode, you will get "..." to suggest to refactor the React import. If you agree, the "react-redux" will get into the same line of react like this:
import React from "react";import { connect } from "react-redux";
Expected behavior: To keep the line break
Actual behavior: Change the line with the refactor of the import and bring the next line to the refactored one
Playground Link: https://twitter.com/mrdesjardins/status/981591251110707200
Related Issues:
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue