Skip to content

i write jsx when i write settimeout it will auto import timers #40001

@zhiqiang21

Description

@zhiqiang21
  • VSCode Version:1.18
  • OS Version:macos 1.13.2

Steps to Reproduce:

1.i write jsx when i write settimeout function ,

componentWillReceiveProps(nextProps) {


        setTimeout()
    }

2.then vscode will auto import times .it's not my wanted

import {setTimeout} from 'timers';

Reproduces without extensions: Yes/No

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)javascriptJavaScript support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions