Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (36 loc) · 1.52 KB
/
Copy pathtsconfig.json
File metadata and controls
38 lines (36 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
// The only TypeScript config in your project root. It inherits the framework
// defaults for application code from `storage/framework/tsconfig.app.json`,
// which in turn inherits every compiler option from
// `storage/framework/tsconfig.base.json`.
//
// The `compilerOptions` below simply restate those defaults. They are here so
// the settings worth tuning are visible and editable in one place:
//
// - change a line to override that single option
// - delete a line to fall back to the framework default
// - delete the whole `compilerOptions` block to use the defaults wholesale
//
// Anything not listed here (module resolution, path aliases, which files get
// included) is owned by the framework and updates along with it. Framework
// internals under `storage/framework/` have their own config, so this one
// deliberately never reaches into them.
"extends": "./storage/framework/tsconfig.app.json",
"compilerOptions": {
/* Language and environment */
"target": "esnext",
"lib": ["esnext", "dom"],
"jsx": "preserve",
/* Type checking */
"strict": true,
"strictNullChecks": true,
"noUncheckedIndexedAccess": true,
"noUncheckedSideEffectImports": true,
"noUnusedLocals": false,
/* Performance - worth keeping `skipLibCheck` on.
`incremental` is deliberately absent: tsconfig.app.json turns it off,
and re-enabling it here would restore the false green it exists to
prevent (stacksjs/stacks#2405). */
"skipLibCheck": true
}
}