Sitelet https://github.com/loopbackio/loopback-next/issues/2175
Skip to content

Examples tsconfig filename resolution issue /w VSCode #2175

Description

@dougal83

Description / Steps to reproduce

  1. Install any example via cli, e.g ''lb4 example todo-list''
  2. Open folder in editor, e.g. VSCode
  3. Trigger linter, e.g Open src/controllers/todo.controller.ts

(n.b. VSCode is only client tested)

Current Behavior

Warns for example below (which is set via tsconfig.build.json):
[ts] Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.

Expected Behavior

The tsconfig rules to be applied correctly. Renaming 'tsconfig.build.json' to 'tsconfig.json' resolves the config correctly in VSCode.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdeveloper-experienceIssues affecting ease of use and overall experience of LB users

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions