Browse Source

Sets tsc target to fix playground compile issues

Henning Dieterichs 2 năm trước cách đây
mục cha
commit
6c77360f6b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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",