1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-03-15 12:49:43 +01:00

Update tsconfig (#3496)

This commit is contained in:
Appasaheb Nage 2023-02-26 00:14:12 +05:30 committed by GitHub
parent e29289f0dc
commit 831521ae10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ tsconfig.json is a configuration file in TypeScript that specifies the compiler
- `strict`: enables/disables strict type checking.
- `outDir`: the directory to output the compiled JavaScript files.
- `rootDir`: the root directory of the TypeScript files.
- `include`: an array of file/directory patterns to include in the compilation.
- `exclude`: an array of file/directory patterns to exclude from the compilation.
Given below is the sample `tsconfig.json` file:
@ -20,7 +21,8 @@ Given below is the sample `tsconfig.json` file:
"outDir": "./dist",
"rootDir": "./src",
"exclude": ["node_modules"]
}
},
"include": ["src"]
}
```