From 92ee1cfd64cf700107aab6560f34da379767912b Mon Sep 17 00:00:00 2001 From: strNophix Date: Tue, 4 Oct 2022 17:36:54 +0200 Subject: [PATCH] Added @ import path --- client/tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/tsconfig.json b/client/tsconfig.json index 6d06864..091db06 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -15,7 +15,11 @@ "isolatedModules": true, "noEmit": true, "jsx": "react-jsx", - "types": ["@testing-library/crypress", "cypress"] + "types": ["@testing-library/crypress", "cypress"], + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } }, "include": ["src", "cypress"], "references": [{ "path": "./tsconfig.node.json" }]