Browse Source

Add spport for promises for PG

David Catuhe 5 years ago
parent
commit
5864fac642
1 changed files with 1 additions and 1 deletions
  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,