Просмотр исходного кода

Sets tsc target to fix playground compile issues

Henning Dieterichs 2 лет назад
Родитель
Сommit
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",