I followed the procedure at https://github.com/microsoft/monaco-typescript#updating-typescript The only manual change I had to make was to add "es2015.iterable" to the lib section of tsconfig.json (and tsconfig.esm.json).
@@ -52,9 +52,9 @@
"dev": true
},
"typescript": {
- "version": "3.3.3333",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.3.3333.tgz",
- "integrity": "sha512-JjSKsAfuHBE/fB2oZ8NxtRTk5iGcg6hkYXMnZ3Wc+b2RSqejEqTaem11mHASMnFilHrax3sLK0GDzcJrekZYLw==",
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.1.tgz",
+ "integrity": "sha512-64HkdiRv1yYZsSe4xC1WVgamNigVYjlssIoaH2HcZF0+ijsk5YK2g0G34w9wJkze8+5ow4STd22AynfO6ZYYLw==",
"uglify-js": {
@@ -24,7 +24,7 @@
"monaco-languages": "^1.7.0",
"monaco-plugin-helpers": "^1.0.2",
"requirejs": "^2.3.6",
- "typescript": "^3.3.3333",
+ "typescript": "^3.5.1",
"uglify-js": "^3.4.9"
}
@@ -8,6 +8,7 @@
"dom",
"es5",
"es2015.collection",
+ "es2015.iterable",
"es2015.promise"
]