summary refs log tree commit diff
path: root/webrtc
diff options
context:
space:
mode:
authorThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-06 18:20:22 +0200
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-06 18:20:22 +0200
commit72af8dc71987fa41bd35c3949238ebf863159817 (patch)
treec3a4b1eac79ef2240bc7700fdbcca1c57ee0ba56 /webrtc
parent:arrow_up: update packages (diff)
downloadserver-72af8dc71987fa41bd35c3949238ebf863159817.tar.xz
Compiler test
Diffstat (limited to 'webrtc')
-rw-r--r--webrtc/.swcrc9
-rw-r--r--webrtc/tsconfig.json2
2 files changed, 10 insertions, 1 deletions
diff --git a/webrtc/.swcrc b/webrtc/.swcrc
new file mode 100644
index 00000000..f04801b8
--- /dev/null
+++ b/webrtc/.swcrc
@@ -0,0 +1,9 @@
+{
+    "jsc": {
+        "parser": {
+            "syntax": "typescript",
+            "decorators": true
+        },
+        "target": "es2021"
+    }
+}
\ No newline at end of file
diff --git a/webrtc/tsconfig.json b/webrtc/tsconfig.json
index 6bf2e6b7..70631fca 100644
--- a/webrtc/tsconfig.json
+++ b/webrtc/tsconfig.json
@@ -7,7 +7,7 @@
 		// "incremental": true,                   /* Enable incremental compilation */
 		"target": "ESNext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
 		"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
-		"lib": ["ES2020"] /* Specify library files to be included in the compilation. */,
+		"lib": ["ES2021"] /* Specify library files to be included in the compilation. */,
 		"allowJs": true /* Allow javascript files to be compiled. */,
 		"checkJs": true /* Report errors in .js files. */,
 		// "jsx": "preserve",                     /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */