diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-15 11:53:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-19 17:26:35 +0200 |
commit | 453e83ea5d81d203ba34bc43cd5c2c750ba40568 (patch) | |
tree | 604e02f4343d13a4ba42e1fb7527ba6ab9111712 /tsconfig.json | |
parent | 13176a07a95984a53cc59aec5217f2ce9806d1bc (diff) | |
download | PeerTube-453e83ea5d81d203ba34bc43cd5c2c750ba40568.tar.gz PeerTube-453e83ea5d81d203ba34bc43cd5c2c750ba40568.tar.zst PeerTube-453e83ea5d81d203ba34bc43cd5c2c750ba40568.zip |
Stronger model typings
Diffstat (limited to 'tsconfig.json')
-rw-r--r-- | tsconfig.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tsconfig.json b/tsconfig.json index 4d2bdd6ba..5ed870c5c 100644 --- a/tsconfig.json +++ b/tsconfig.json | |||
@@ -14,11 +14,15 @@ | |||
14 | "es2016", | 14 | "es2016", |
15 | "es2017" | 15 | "es2017" |
16 | ], | 16 | ], |
17 | "typeRoots": [ "node_modules/@types", "server/typings" ] | 17 | "typeRoots": [ "node_modules/@types", "server/typings" ], |
18 | "baseUrl": "./", | ||
19 | "paths": { | ||
20 | "@server/typings/*": [ "server/typings/*" ], | ||
21 | "@server/models/*": [ "server/models/*" ] | ||
22 | } | ||
18 | }, | 23 | }, |
19 | "exclude": [ | 24 | "exclude": [ |
20 | "server/tools/", | 25 | "server/tools/", |
21 | "client/node_modules", | ||
22 | "node_modules", | 26 | "node_modules", |
23 | "dist", | 27 | "dist", |
24 | "storage", | 28 | "storage", |