Questions tagged [tsconfig.json]
21 questions
0
votes
0 answers
Why difference between npm run build and tsc?
Why compiling directly with cd src/Front && tsc shows the following error messages when running while with npm run build there is none?
$ (cd src/Front/ && tsc)
SearchProgressResultsDownload.ts:128:25 - error TS2495: Type…

Aubin
- 14,617
- 9
- 61
- 84
0
votes
0 answers
How Can I Transform Import Paths to Absolute or Relative Urls When baseUrl is Used in tsconfig.json?
I am creating a large Typescript library that I'll call feature-lib that I want to use in other projects. In this project I'm using baseUrl: 'src' so that I can have import statements that aren't full of ../../../../../... The code provided below is…

Jeff Tillwick
- 41
- 1
- 9
0
votes
1 answer
module not found in the file generated by typescript
I use typescript in nodejs, when I output from the file, I cannot access the modules in the final file, and I use absolute path in the tsconfig.josn file.
// tsconfig.json
{
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
…
0
votes
0 answers
ExperimentalDecorators property not getting picked up from my tsconfig file in Angular12
I have updated my Angular11 project to Angular12, but getting errors like below:-
Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or…

Satyam Singh
- 188
- 1
- 3
- 11
0
votes
0 answers
cannot find type definition file for 'cli' in Angular 14
In Angular tsconfig.json file showing this error.
** cannot find type definition file for 'cli'
The file is in the program because:
entry point for implicit type library 'cli' **
how to solve this problem.

Raj
- 1
- 3
0
votes
0 answers
When I create angular in studio code, some problems occur in app.component.spec.ts and tsconfig.json, how can I solve this?
When I create angular in studio code, some problems occur in app.component.spec.ts and tsconfig.json.
Seven problem inside the app.component.spec.ts and one of inside the tsconfig.json.
Node.js, npm and angular.cli all was updated. When i readed and…

emrecan
- 1