Browse Source

Upgrade to typescript 3.5.1

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).
Russell Davis 6 năm trước cách đây
mục cha
commit
c13c791795

+ 3 - 3
package-lock.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==",
       "dev": true
     },
     "uglify-js": {

+ 1 - 1
package.json

@@ -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"
   }
 }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
src/lib/lib.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 661 - 413
src/lib/typescriptServices-amd.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
src/lib/typescriptServices.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 661 - 413
src/lib/typescriptServices.js


+ 1 - 0
src/tsconfig.esm.json

@@ -8,6 +8,7 @@
       "dom",
       "es5",
       "es2015.collection",
+      "es2015.iterable",
       "es2015.promise"
     ]
   },

+ 1 - 0
src/tsconfig.json

@@ -8,6 +8,7 @@
       "dom",
       "es5",
       "es2015.collection",
+      "es2015.iterable",
       "es2015.promise"
     ]
   },

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác