-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.FixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version: 2.8.0-rc, 2.9.0-dev.20180323
Search Terms: JSX import suggestion
Code
// Foo.tsx
import React from 'react'
export class Foo extends React.Component {
render () {
return <div>Hello</div>
}
}
// Bar.tsx
import React from 'react'
class Bar extends React.Component {
render () {
return <Foo /> // Autoimport suggestion expected here
}
}Expected behavior:
Actual behavior:
guillaume86
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.FixedA PR has been merged for this issueA PR has been merged for this issue

