Skip to content

Trigger Node type acquisition on matching shebang #46278

Open
@Mlocik97

Description

@Mlocik97

Version: 1.61.0
Commit: ee8c7def80afc00dd6e593ef12f37756d8f504ea
Date: 2021-10-07T18:11:02.929Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-37-generic

Steps to Reproduce:

  1. npm init -y
  2. set "type": "module"
  3. creating new index.js file
  4. writting fs doesn't sugget to import fs, so it doesn't add import fs from 'fs' line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions