From 453e83ea5d81d203ba34bc43cd5c2c750ba40568 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 15 Aug 2019 11:53:26 +0200 Subject: Stronger model typings --- tsconfig.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index 4d2bdd6ba..5ed870c5c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,11 +14,15 @@ "es2016", "es2017" ], - "typeRoots": [ "node_modules/@types", "server/typings" ] + "typeRoots": [ "node_modules/@types", "server/typings" ], + "baseUrl": "./", + "paths": { + "@server/typings/*": [ "server/typings/*" ], + "@server/models/*": [ "server/models/*" ] + } }, "exclude": [ "server/tools/", - "client/node_modules", "node_modules", "dist", "storage", -- cgit v1.2.3