Skip to content

ng update should detect typings files and added it to the appropriate tsconfig file #16923

Closed
@johnpapa

Description

@johnpapa

🚀 Feature request

I have a typings.d.ts file that no longer is included in the compilation/build. I was getting errors about not being able to find my ambient types that were in that files. I noticed the tsconfig.app.json was updated to only compile the main.ts and the polyfills. Once I added the typings.d.ts explictly, it worked.

Yes, it's likely not a common scenario. But It might be good to include this scenario in the ng update process to v9.

It would be nice if the ng update process noticed if there was a typings file and added it to the config.

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions