-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
37 lines (36 loc) · 1.59 KB
/
Copy pathtsconfig.json
File metadata and controls
37 lines (36 loc) · 1.59 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
{
"compilerOptions": {
/* Language and Environment */
"target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
/* Modules */
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"declarationDir": "./dist/types",
"emitDeclarationOnly": true /* Emit only declaration files. */,
"moduleResolution": "Node" /* Determine how modules get resolved. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"declaration": true,
"module": "ESNext" /* Specify what module code is generated. */,
/* Type Checking */
"typeRoots": [
"./src/@types",
"./node_modules/@types"
] /* List of folders to include type definitions from. */,
"allowImportingTsExtensions": true,
"noUncheckedIndexedAccess": true /* Add 'undefined' to a type when accessed using an index. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"allowJs": true,
"strict": true /* Enable all strict type-checking options. */,
"baseUrl": "./",
"paths": {
"@features": ["./src/strapiAdapter"],
"@classes*": ["./src/classes*"],
"@WarningsRegistry": [
"./src/strapiAdapter/StrapiInstance/utils/warnings"
],
"@types": ["./src/@types"],
"@utils": ["./src/utils"]
}
},
"exclude": ["rollup.config.js", "node_modules/*", "dist", "lib", "test"],
"include": ["src/@types/**/*", "src/**/*"]
}