]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Translated using Weblate (Persian)
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index d68b3058e6f41662916117a42d08519d3fff961b..1668cfced03d1c35a4a4944638bde0849cafea5a 100644 (file)
@@ -6,20 +6,21 @@
     "sourceMap": true,
     "declaration": false,
     "moduleResolution": "node",
-    "module": "esnext",
+    "module": "es2020",
     "experimentalDecorators": true,
     "noImplicitAny": true,
     "noImplicitThis": true,
-    "suppressImplicitAnyIndexErrors":true,
+    "suppressImplicitAnyIndexErrors": true,
     "alwaysStrict": true,
     "importHelpers": true,
     "allowSyntheticDefaultImports": true,
     "strictBindCallApply": true,
-    "target": "es2015",
+    "target": "ES2022",
     "typeRoots": [
       "node_modules/@types"
     ],
     "lib": [
+      "ES2021.Intl",
       "es2018",
       "es2017",
       "es2016",
     ],
     "baseUrl": "./",
     "paths": {
-      "hls.js": [ "node_modules/hls.js/dist/hls.light" ],
-      "video.js": [ "node_modules/video.js/core" ],
-      "@app/*": [ "src/app/*" ],
-      "@shared/models/*": [ "../shared/models/*" ],
-      "@shared/models": [ "../shared/models" ],
-      "@shared/core-utils": [ "../shared/core-utils" ],
-      "@shared/core-utils/*": [ "../shared/core-utils/*" ],
-      "@root-helpers/*": [ "src/root-helpers/*" ],
-      "fs": [ "src/shims/noop.ts" ],
-      "http": [ "src/shims/http.ts" ],
-      "https": [ "src/shims/https.ts" ],
-      "path": [ "src/shims/path.ts" ],
-      "stream": [ "src/shims/stream.ts" ],
-      "crypto": [ "src/shims/noop.ts" ]
-    }
+      "hls.js": [
+        "node_modules/hls.js/dist/hls.light"
+      ],
+      "video.js": [
+        "node_modules/video.js/core"
+      ],
+      "@app/*": [
+        "src/app/*"
+      ],
+      "@shared/models/*": [
+        "../shared/models/*"
+      ],
+      "@shared/models": [
+        "../shared/models"
+      ],
+      "@shared/core-utils": [
+        "../shared/core-utils"
+      ],
+      "@shared/core-utils/*": [
+        "../shared/core-utils/*"
+      ],
+      "@shared/typescript-utils": [
+        "../shared/typescript-utils"
+      ],
+      "@shared/typescript-utils/*": [
+        "../shared/typescript-utils/*"
+      ],
+      "@root-helpers/*": [
+        "src/root-helpers/*"
+      ],
+      "fs": [
+        "src/shims/noop.ts"
+      ],
+      "http": [
+        "src/shims/http.ts"
+      ],
+      "https": [
+        "src/shims/https.ts"
+      ],
+      "path": [
+        "src/shims/path.ts"
+      ],
+      "stream": [
+        "src/shims/stream.ts"
+      ],
+      "crypto": [
+        "src/shims/noop.ts"
+      ]
+    },
+    "useDefineForClassFields": false
   },
   "files": [
     "src/polyfills.ts"