瀏覽代碼

Sets tsc target to fix playground compile issues

Henning Dieterichs 2 年之前
父節點
當前提交
6c77360f6b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      website/scripts/check-playground-samples-js.ts

+ 2 - 0
website/scripts/check-playground-samples-js.ts

@@ -14,6 +14,8 @@ import { exit } from "process";
 					"yarn",
 					[
 						"tsc",
+						"--target",
+						"es6",
 						"--noEmit",
 						"--allowJs",
 						"--checkJs",