diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-26 08:37:26 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:28:14 +0200 |
commit | 583eb04b541175035d6d452ca626a96ebf2b7437 (patch) | |
tree | 114ba0a7004b4b2a7fc77444ef5fcb73414c6e93 /client/tsconfig.base.json | |
parent | 4504f09f6e85f09b0489debb547a17209d7176ea (diff) | |
download | PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.gz PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.zst PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.zip |
Upgrade to angular 10
Diffstat (limited to 'client/tsconfig.base.json')
-rw-r--r-- | client/tsconfig.base.json | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/client/tsconfig.base.json b/client/tsconfig.base.json new file mode 100644 index 000000000..2ce7e27e2 --- /dev/null +++ b/client/tsconfig.base.json | |||
@@ -0,0 +1,48 @@ | |||
1 | { | ||
2 | "compileOnSave": false, | ||
3 | "compilerOptions": { | ||
4 | "downlevelIteration": true, | ||
5 | "outDir": "./dist/out-tsc", | ||
6 | "sourceMap": true, | ||
7 | "declaration": false, | ||
8 | "moduleResolution": "node", | ||
9 | "module": "esnext", | ||
10 | "emitDecoratorMetadata": true, | ||
11 | "experimentalDecorators": true, | ||
12 | "noImplicitAny": true, | ||
13 | "noImplicitThis": true, | ||
14 | "suppressImplicitAnyIndexErrors":true, | ||
15 | "alwaysStrict": true, | ||
16 | "importHelpers": true, | ||
17 | "strictBindCallApply": true, | ||
18 | "target": "es2015", | ||
19 | "typeRoots": [ | ||
20 | "node_modules/@types" | ||
21 | ], | ||
22 | "lib": [ | ||
23 | "es2018", | ||
24 | "dom" | ||
25 | ], | ||
26 | "baseUrl": "./", | ||
27 | "paths": { | ||
28 | "video.js": [ "node_modules/video.js/core" ], | ||
29 | "@app/*": [ "src/app/*" ], | ||
30 | "@shared/models/*": [ "../shared/models/*" ], | ||
31 | "@shared/models": [ "../shared/models" ], | ||
32 | "@shared/core-utils": [ "../shared/core-utils" ], | ||
33 | "@shared/core-utils/*": [ "../shared/core-utils/*" ], | ||
34 | "@root-helpers/*": [ "src/root-helpers/*" ], | ||
35 | "fs": [ "src/shims/noop.ts" ], | ||
36 | "http": [ "src/shims/http.ts" ], | ||
37 | "https": [ "src/shims/https.ts" ], | ||
38 | "path": [ "src/shims/path.ts" ], | ||
39 | "stream": [ "src/shims/noop.ts" ], | ||
40 | "crypto": [ "src/shims/noop.ts" ] | ||
41 | } | ||
42 | }, | ||
43 | "angularCompilerOptions": { | ||
44 | "strictInjectionParameters": true, | ||
45 | "fullTemplateTypeCheck": true, | ||
46 | "strictTemplates": true | ||
47 | } | ||
48 | } | ||