aboutsummaryrefslogtreecommitdiff
path: root/frontend/tsconfig.json
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2024-05-15 23:23:57 +0300
committeromagdy7 <omar.professional8777@gmail.com>2024-05-15 23:23:57 +0300
commitcf857bc8af5ac3725f3bdb40dcdc80752595652f (patch)
tree72545ee4f47e133af811b8fb37db405e9b624c1d /frontend/tsconfig.json
parent1aa678533f0d21f8696754b1a1f456827f249b1c (diff)
downloadcloudrender-cf857bc8af5ac3725f3bdb40dcdc80752595652f.tar.xz
cloudrender-cf857bc8af5ac3725f3bdb40dcdc80752595652f.zip
Final version of backend and frontend
Diffstat (limited to 'frontend/tsconfig.json')
-rw-r--r--frontend/tsconfig.json24
1 files changed, 19 insertions, 5 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index a7fc6fb..32b1392 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -2,10 +2,13 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "lib": [
+ "ES2020",
+ "DOM",
+ "DOM.Iterable"
+ ],
"module": "ESNext",
"skipLibCheck": true,
-
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
@@ -13,13 +16,24 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
-
+ "baseUrl": ".",
+ "paths": {
+ "@/*": [
+ "./src/*"
+ ]
+ },
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
- "include": ["src"],
- "references": [{ "path": "./tsconfig.node.json" }]
+ "include": [
+ "src"
+ ],
+ "references": [
+ {
+ "path": "./tsconfig.node.json"
+ }
+ ]
}