diff options
author | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-10-06 18:20:22 +0200 |
---|---|---|
committer | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-10-06 18:20:22 +0200 |
commit | 72af8dc71987fa41bd35c3949238ebf863159817 (patch) | |
tree | c3a4b1eac79ef2240bc7700fdbcca1c57ee0ba56 /webrtc | |
parent | :arrow_up: update packages (diff) | |
download | server-72af8dc71987fa41bd35c3949238ebf863159817.tar.xz |
Compiler test
Diffstat (limited to 'webrtc')
-rw-r--r-- | webrtc/.swcrc | 9 | ||||
-rw-r--r-- | webrtc/tsconfig.json | 2 |
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'. */ |