summary refs log tree commit diff
path: root/cdn/tsconfig.json
diff options
context:
space:
mode:
authorHayden Young <hi@hbjy.dev>2021-10-17 11:55:54 +0000
committerGitHub <noreply@github.com>2021-10-17 11:55:54 +0000
commit5fea8b21d1c865d4da35a5090356962a709b03e8 (patch)
tree46b1c3f24bc322775a9b0f7aae650af985a73424 /cdn/tsconfig.json
parentfix: update source paths (diff)
downloadserver-5fea8b21d1c865d4da35a5090356962a709b03e8.tar.xz
fix: make the CDN build correctly
Diffstat (limited to 'cdn/tsconfig.json')
-rw-r--r--cdn/tsconfig.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/cdn/tsconfig.json b/cdn/tsconfig.json
index 249dffff..4630623d 100644
--- a/cdn/tsconfig.json
+++ b/cdn/tsconfig.json
@@ -5,9 +5,9 @@
 
 		/* Basic Options */
 		"incremental": true /* Enable incremental compilation */,
-		"target": "ES6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
+		"target": "ES2020" /* 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": ["ES2015", "dom"] /* Specify library files to be included in the compilation. */,
+		"lib": ["ES2020", "dom"] /* 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'. */
@@ -60,8 +60,8 @@
 		// "inlineSources": true,                 /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
 
 		/* Experimental Options */
-		// "experimentalDecorators": true,        /* Enables experimental support for ES7 decorators. */
-		// "emitDecoratorMetadata": true,         /* Enables experimental support for emitting type metadata for decorators. */
+		"experimentalDecorators": true,        /* Enables experimental support for ES7 decorators. */
+		"emitDecoratorMetadata": true,         /* Enables experimental support for emitting type metadata for decorators. */
 
 		/* Advanced Options */
 		"skipLibCheck": true /* Skip type checking of declaration files. */,