Add path aliases

This commit is contained in:
arttu
2024-04-22 10:49:21 +03:00
parent 19f0159c3e
commit a1de9ee43b
9 changed files with 70 additions and 17 deletions
+8
View File
@@ -20,6 +20,14 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"baseUrl": ".",
"types": ["node"],
"paths": {
"@/*": ["./src/*"],
"@components/*": ["./src/components/*"],
"@util/*": ["./src/util/*"],
"@backend/*": ["../backend/src/*"],
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]