Equivalent to "**/*.ts", "**/*.tsx", "**/*.d.ts"
From the docs: https://www.typescriptlang.org/tsconfig/#include > If the last path segment in a pattern does not contain a file extension or wildcard character, then it is treated as a directory, and files with supported extensions inside that directory are included (e.g. .ts, .tsx, and d.ts by default).
This commit is contained in:
parent
54e33d3f42
commit
74bb169f0d
3 changed files with 3 additions and 9 deletions
|
@ -5,9 +5,5 @@
|
|||
"lib": ["ESnext", "DOM", "DOM.Iterable", "WebWorker"]
|
||||
},
|
||||
/* Typecheck all files with the given extensions (here or in subfolders) */
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"../../packages/next/global-electron.d.ts"
|
||||
]
|
||||
"include": [".", "../../packages/next/global-electron.d.ts"]
|
||||
}
|
||||
|
|
|
@ -4,6 +4,5 @@
|
|||
/* Also indicate expectation of a WebWorker runtime */
|
||||
"lib": ["ESnext", "DOM", "DOM.Iterable", "WebWorker"]
|
||||
},
|
||||
/* Typecheck all files with the given extensions (here or in subfolders) */
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.d.ts", "global-electron.d.ts"]
|
||||
"include": ["."]
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"extends": "@/build-config/tsconfig-typecheck.json",
|
||||
/* Typecheck all files with the given extensions (here or in subfolders) */
|
||||
"include": ["**/*.ts"]
|
||||
"include": ["."]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue