-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
tsconfig.json
52 lines (52 loc) · 1.45 KB
/
tsconfig.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
// @link https://iamturns.com/typescript-babel/
"compilerOptions": {
// Target latest version of ECMAScript.
"target": "es2022",
// Search under node_modules for non-relative imports.
// https://www.youtube.com/watch?v=H91aqUHn8sE
"moduleResolution": "node",
"module": "es2022",
// Process & infer types from .js files.
"allowJs": false,
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Disallow features that require
// cross-file information for emit.
"isolatedModules": false,
// Import non-ES modules as default imports.
"esModuleInterop": true,
"outDir": "./dist/typings",
"declaration": true,
/**
* @link https://spblog.net/post/2018/10/26/TypeScript-Tips-How-to-reduce-the-size-of-a-bundle
*/
"importHelpers": true,
"typeRoots": [
"./src/types/modules"
],
"types": [],
"noEmit": true,
"allowImportingTsExtensions": true
},
"formatCodeOptions": {
"indentSize": 2,
"tabSize": 2
},
"include": [
"test",
"src",
"docs-src"
],
"exclude": [
"node_modules",
"**/node_modules/*",
"dist",
"test/tutorials/*",
"examples",
"docs",
"docs-src",
"test_tmp"
],
"compileOnSave": false
}