diff options
author | lutangar <johan.dufour@gmail.com> | 2021-11-09 13:49:08 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-12-16 10:08:43 +0100 |
commit | b8fa3e8c734a46918118afe7976f248cc883f675 (patch) | |
tree | 0ebf8fd10b1c690602da14d4dd626cd04a9ff748 /types/tsconfig.dist.json | |
parent | 8b03e2ce1a2098261de2f729f660b1ae2a320b65 (diff) | |
download | PeerTube-b8fa3e8c734a46918118afe7976f248cc883f675.tar.gz PeerTube-b8fa3e8c734a46918118afe7976f248cc883f675.tar.zst PeerTube-b8fa3e8c734a46918118afe7976f248cc883f675.zip |
refactor(types): create dedicated folder for types package src
fix guide examples and add types package readme
refactor(tsconfig): move back base tsconfig to base directory
Diffstat (limited to 'types/tsconfig.dist.json')
-rw-r--r-- | types/tsconfig.dist.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/types/tsconfig.dist.json b/types/tsconfig.dist.json new file mode 100644 index 000000000..d9c3fdfc3 --- /dev/null +++ b/types/tsconfig.dist.json | |||
@@ -0,0 +1,16 @@ | |||
1 | { | ||
2 | "extends": "./tsconfig.base.json", | ||
3 | "compilerOptions": { | ||
4 | "typeRoots": [ | ||
5 | "node_modules/@types", | ||
6 | "client/node_modules/@types" | ||
7 | ], | ||
8 | "baseUrl": "./", | ||
9 | "paths": { | ||
10 | "@server/*": [ "server/*" ], | ||
11 | "@shared/*": [ "shared/*" ], | ||
12 | "@client/*": [ "client/*" ] | ||
13 | } | ||
14 | } | ||
15 | } | ||
16 | |||