From 831521ae1078f3646b4610ac7afdd0d85dbe237c Mon Sep 17 00:00:00 2001 From: Appasaheb Nage Date: Sun, 26 Feb 2023 00:14:12 +0530 Subject: [PATCH] Update tsconfig (#3496) --- .../100-typescript/102-install-configure/100-tsconfig-json.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/100-tsconfig-json.md b/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/100-tsconfig-json.md index 35b0eaabe..6b81408e6 100644 --- a/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/100-tsconfig-json.md +++ b/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/100-tsconfig-json.md @@ -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"] } ```