aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2024-01-25 11:35:26 -0500
committerSophie Zhang <sophie_zhang@brown.edu>2024-01-25 11:35:26 -0500
commitf3dab2a56db5e4a6a3dca58185d94e1ff7d1dc32 (patch)
treea7bc895266b53bb620dbd2dd71bad2e83b555446 /tsconfig.json
parentb5c5410b4af5d2c68d2107d3f064f6e3ec4ac3f2 (diff)
parent136f3d9f349d54e8bdd73b6380ea47c19e5edebf (diff)
Merge branch 'master' into sophie-ai-images
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json11
1 files changed, 6 insertions, 5 deletions
diff --git a/tsconfig.json b/tsconfig.json
index f1b275954..680927421 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,20 +1,21 @@
{
"compilerOptions": {
- "target": "es5",
+ "target": "ES2017",
"downlevelIteration": true,
"removeComments": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"moduleDetection": "auto",
+ "useDefineForClassFields": false, // allowing this to be true breaks overriding of observable props in subclasses (see CollectionSubView)
"strict": true,
"jsx": "react",
"allowJs": true,
"sourceMap": true,
"outDir": "dist",
- "lib": ["dom", "es2015"],
- "typeRoots": ["node_modules/@types", "./src/typings"],
- "types": ["youtube", "node"],
- "resolveJsonModule": true
+ "lib": ["dom", "es2017"],
+ "typeRoots": ["node_modules/@types", "./src/typings", "./src/extensions/General"],
+ "resolveJsonModule": true,
+ "moduleResolution": "node"
},
// "exclude": [
// "node_modules",