summaryrefslogtreecommitdiff
path: root/driver/tsconfig.json
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-12-21 01:26:51 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-12-21 01:26:51 +0200
commit7b379914e44583b9b097ed286b669ad244b176a1 (patch)
tree32fc660273161a92a0b9784ac5edd6f2f5eea58c /driver/tsconfig.json
parentb84fe9a9c4c18a3f4e957f76ead34403c4316f76 (diff)
downloadcarpool-7b379914e44583b9b097ed286b669ad244b176a1.tar.xz
carpool-7b379914e44583b9b097ed286b669ad244b176a1.zip
Added Firestore support for both the driver app and the rider mobile app
Diffstat (limited to 'driver/tsconfig.json')
-rw-r--r--driver/tsconfig.json24
1 files changed, 19 insertions, 5 deletions
diff --git a/driver/tsconfig.json b/driver/tsconfig.json
index a7fc6fb..1cb84b4 100644
--- a/driver/tsconfig.json
+++ b/driver/tsconfig.json
@@ -2,10 +2,19 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "lib": [
+ "ES2020",
+ "DOM",
+ "DOM.Iterable"
+ ],
"module": "ESNext",
"skipLibCheck": true,
-
+ "baseUrl": ".",
+ "paths": {
+ "@/*": [
+ "./src/*"
+ ]
+ },
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
@@ -13,13 +22,18 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
-
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
- "include": ["src"],
- "references": [{ "path": "./tsconfig.node.json" }]
+ "include": [
+ "src"
+ ],
+ "references": [
+ {
+ "path": "./tsconfig.node.json"
+ }
+ ]
}