-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
65 lines (65 loc) · 3.19 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
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"compilerOptions": {
"pretty": true,
"target": "ES2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "NodeNext", /* Specify what module code is generated. */
"rootDir": "./src", /* Specify the root folder within your source files. */
"moduleResolution": "NodeNext",
"sourceMap": true, /* Specify how TypeScript looks up a file from a given module specifier. */
"outDir": "./dist", /* Specify an output folder for all emitted files. */
"removeComments": true, /* Disable emitting comments. */
/* Allow importing helper functions from tslib once per project, instead of including them per-file. */
"importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
"isolatedModules": true, /*Ensure that each file can be safely transpiled without relying on other imports. */
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": false, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
"strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
"strictFunctionTypes": false, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
"strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
"strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
"noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
"alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
"noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
"noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
"noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
/* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true,
"resolveJsonModule": true,
"typeRoots": [
"./src/@types",
], /* Skip type checking all .d.ts files. */
},
"exclude": [
"node_modules",
"**/*.spec.ts",
"coverage",
"dist",
"test/**/*.ts"
],
"types": [
"mocha",
"node"
],
"include": [
"./**/*.ts"
],
"typedocOptions": {
"entryPoints": [
"src/"
],
"entryPointStrategy": "expand",
"out": "documentation",
"plugin": [
"typedoc-theme-hierarchy"
],
"theme": "hierarchy",
"name": "Node TypeScript API",
"includeVersion": true,
"exclude": [
"./test/*"
]
}
}