Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: front end path alias for tsc (#841)

Liu Ji252e1bcf0652
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index 17e78d417e..b75522f2e3 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -40,8 +40,10 @@
/* Module Resolution Options */
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
- // "baseURL": "./", /* Base directory to resolve non-absolute module names. */
- // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseURL'. */
+ "baseURL": "./" /* Base directory to resolve non-absolute module names. */,
+ "paths": {
+ "@/*": ["./src/*"]
+ } /* A series of entries which re-map imports to lookup locations relative to the 'baseURL'. */,
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */