-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
56 lines (52 loc) · 1.75 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
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"incremental": true,
"target": "es2022",
"module": "es2020",
"lib": ["es2020","dom"],
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"typeRoots": [
"node_modules/@types"
],
"paths" : {
// Project sources
"@app/*": ["src/app/*"],
"@environments/*": ["src/environments/*"],
// Force using the RxJS project's version
"rxjs": ["node_modules/rxjs"],
"rxjs/*": ["node_modules/rxjs/*"],
// Local types
"@polkadot/types/lookup": ["src/interfaces/types-lookup.ts"],
// here we replace the @polkadot/api augmentation with our own, generated from chain
"@polkadot/api/augment": ["src/interfaces/augment-api.ts"],
// replace the augmented types with our own, as generated from definitions
"@polkadot/types/augment": ["src/interfaces/augment-types.ts"],
// Node JS lib
"stream": ["node_modules/stream-browserify"],
"assert": ["node_modules/assert"],
"http": ["node_modules/stream-http"],
"https": ["node_modules/https-browserify"],
"os": ["node_modules/os-browserify"]
},
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": false,
"fullTemplateTypeCheck": true
}
}