Top "Tsconfig" questions

tsconfig.

Typescript tsconfig to exclude some source files

I am trying to get Typescript to exclude certain files when compiling. However it doesn't seem to want to exclude …

javascript typescript tsconfig transpiler
TypeScript init: error TS6053: File 'init.ts' not found

If I run tsc init in a empty directory, I get the error: error TS6053: File 'init.ts' not found …

typescript init tsconfig
Exclude node_modules from "problems"

I'm running this task: { "taskName": "tsc watch", "command": "tsc -w", "type": "shell", "problemMatcher": "$tsc-watch" } with this tsconfig: { "compileOnSave": true, "files": [ "…

typescript visual-studio-code tsconfig
Visual Studio Code can't resolve angular's tsconfig paths

I'm trying to import some services using barrels and tsconfigs paths options but I can't get angular and vscode to …

angular typescript visual-studio-code vscode-settings tsconfig
TypeScript 3.7.2 - Support for the experimental syntax 'optionalChaining' isn't currently enabled

In my project I am using TS 3.7.2 which should support optional chaining. But when I try to use it like …

typescript tsconfig optional-chaining
compilerOptions.paths must not be set (alias imports are not supported)

I'm trying to map paths in tsconfig.json to get rid of relative paths hell. My React App is based …

reactjs typescript tsconfig tsconfig-paths
typescript tsconfig.json include exclude not working

I have a web project I have folders src/app/shared/models src/app/shared/services src/app/shared/types …

typescript glob tsconfig
ng build --prod Cannot determine the module for class X! Add ThreadListTabsComponent to the NgModule to fix it

I'm trying to build my Angular 5 app, and I'm getting the error: Cannot determine the module for class ThreadListTabsComponent in /…

angular typescript angular-cli tsconfig
Warning: Cannot find parent tsconfig.json

I would like to fix the warning: Warning: Cannot find parent tsconfig.json in the TypeScript Errors tab in IntelliJ …

typescript intellij-idea webstorm tsconfig
How can I compile my Typescript into a single JS file with no module loading system?

I have a small Typescript project of about 10 ts files. I want to compile all my files into es5 and …

typescript typescript1.8 typescript-typings tsconfig