You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* By invoking tsc with no input files, in which case the compiler searches for the `tsconfig.json` file starting in the current directory and continuing up the parent directory chain.
10
11
* By invoking tsc with no input files and a `--project` (or just `-p`) command line option that specifies the path of a directory containing a `tsconfig.json` file, or a path to a valid `.json` file containing the configurations.
11
12
12
-
When input files are specified on the command line, `tsconfig.json`files are ignored.
@@ -68,17 +69,18 @@ Example `tsconfig.json` files:
68
69
69
70
## Details
70
71
71
-
The `"compilerOptions"` property can be omitted, in which case the compiler's defaults are used. See our full list of supported [Compiler Options](./Compiler Options.md).
If a segment of a glob pattern includes only `*`or`.*`, then only files with supported extensions are included (e.g. `.ts`, `.tsx`, and`.d.ts`by default with `.js` and `.jsx` if `allowJs` is set to true).
If the `"files"` and `"include"` are both left unspecified, the compiler defaults to including all TypeScript (`.ts`, `.d.ts` and `.tsx`) files in the containing directory and subdirectories except those excluded using the `"exclude"` property. JS files (`.js` and `.jsx`) are also included if `allowJs` is set to true.
84
86
If the `"files"` or `"include"` properties are specified, the compiler will instead include the union of the files included by those two properties.
0 commit comments