diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 33a242ea8..37bc8729f 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -17,7 +17,10 @@ "noImplicitReturns": true, "noPropertyAccessFromIndexSignature": true, "noFallthroughCasesInSwitch": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "paths": { + "@shared/*": ["../shared-types/*"] + } }, "ts-node": { "files": true diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 578e36c5a..a0b24bb8f 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -31,7 +31,10 @@ "noPropertyAccessFromIndexSignature": true, "allowUnusedLabels": false, "allowUnreachableCode": false, - "skipLibCheck": false + "skipLibCheck": false, + "paths": { + "@shared/*": ["../shared-types/*"] + } }, "include": ["./src/**/*.ts", "../shared-types/**/*.d.ts"], "exclude": ["node_modules", "build", "setup-tests.ts", "**/*.spec.ts"]