Skip to content

Types not detected if included file includes another file #40485

@danikaze

Description

@danikaze

Possible bug report (follow-up for 100432)

  • VSCode Version: 1.48.2
  • OS Version: Windows 10

More details:

Version: 1.48.2 (system setup)
Commit: a0479759d6e9ea56afa657e454193f72aef85bd0
Date: 2020-08-25T10:13:11.295Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18362

Steps to Reproduce:

  1. Clone the prepared repository to reproduce the issue
  2. Open renderer/pages/home.tsx
  3. vscode shows the error Cannot find name 'PACKAGE_NAME'.ts(2304) on line 12

It should detect the definition from renderer/td/env.d.ts -- included by renderer/tsconfig.json

Details are also described in the README.md of the repo

Still occurs even running it with code --disable-extensions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions