浏览代码

Add spport for promises for PG

David Catuhe 5 年之前
父节点
当前提交
5864fac642
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Playground/js/monacoCreator.js

+ 1 - 1
Playground/js/monacoCreator.js

@@ -70,7 +70,7 @@ class MonacoCreator {
                         } else {
                             typescript.typescriptDefaults.setCompilerOptions({
                                 module: typescript.ModuleKind.AMD,
-                                target: typescript.ScriptTarget.ES5,
+                                target: typescript.ScriptTarget.ES6,
                                 noLib: false,
                                 noResolve: true,
                                 suppressOutputPathCheck: true,