Skip to content

Ignoring tsconfig.json in Angular 2 CLI generated apps #8523

Closed
@dbaeumer

Description

@dbaeumer

From @ncrawlins on May 8, 2016 15:53

  • VSCode Version: 1.0.0
  • OS Version: Windows 10

Maybe it's a problem with the project setup, but VSCode doesn't honor the experimentalDecorators flag and other tsconfig settings for any file you open AFTER the first file in an Angular CLI generated project. You can close all files and wait a second and then open the files in a different order and the ones reporting errors will switch.

Steps to Reproduce:

  1. Install angular 2 cli from NPM
  2. use "ng new test" to create a new project.
  3. Open the created directory in code. The first TS file you open won't have any problems but all the ones you open after that won't use the tsconfig.json.
    code-ng2-bug

Copied from original issue: microsoft/vscode#6200

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions