From 55dd850009603aafa6ef8cc88020fa30d217d5b6 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Wed, 11 Aug 2021 21:50:36 +0000 Subject: [PATCH] Update LKG. --- lib/tsc.js | 2 +- lib/tsserver.js | 4 ++-- lib/tsserverlibrary.js | 4 ++-- lib/typescript.js | 2 +- lib/typescriptServices.js | 2 +- lib/typingsInstaller.js | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/tsc.js b/lib/tsc.js index dbfdc1cac0475..3c2286041f7d9 100644 --- a/lib/tsc.js +++ b/lib/tsc.js @@ -21922,7 +21922,7 @@ var ts; name: "typescript:spreadArray", importName: "__spreadArray", scoped: false, - text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || from);\n };" + text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };" }; ts.valuesHelper = { name: "typescript:values", diff --git a/lib/tsserver.js b/lib/tsserver.js index 75b1593464a10..ac49ace7bdcd0 100644 --- a/lib/tsserver.js +++ b/lib/tsserver.js @@ -22,7 +22,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { ar[i] = from[i]; } } - return to.concat(ar || from); + return to.concat(ar || Array.prototype.slice.call(from)); }; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { @@ -27228,7 +27228,7 @@ var ts; name: "typescript:spreadArray", importName: "__spreadArray", scoped: false, - text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || from);\n };" + text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };" }; // ES2015 Destructuring Helpers ts.valuesHelper = { diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js index 2841c88fd57b3..47d329d5e07e2 100644 --- a/lib/tsserverlibrary.js +++ b/lib/tsserverlibrary.js @@ -21,7 +21,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { ar[i] = from[i]; } } - return to.concat(ar || from); + return to.concat(ar || Array.prototype.slice.call(from)); }; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { @@ -27422,7 +27422,7 @@ var ts; name: "typescript:spreadArray", importName: "__spreadArray", scoped: false, - text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || from);\n };" + text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };" }; // ES2015 Destructuring Helpers ts.valuesHelper = { diff --git a/lib/typescript.js b/lib/typescript.js index a017a2df83c17..0f28c735443c2 100644 --- a/lib/typescript.js +++ b/lib/typescript.js @@ -27422,7 +27422,7 @@ var ts; name: "typescript:spreadArray", importName: "__spreadArray", scoped: false, - text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || from);\n };" + text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };" }; // ES2015 Destructuring Helpers ts.valuesHelper = { diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index caea5c94199f5..9f7987c8c3322 100644 --- a/lib/typescriptServices.js +++ b/lib/typescriptServices.js @@ -27422,7 +27422,7 @@ var ts; name: "typescript:spreadArray", importName: "__spreadArray", scoped: false, - text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || from);\n };" + text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };" }; // ES2015 Destructuring Helpers ts.valuesHelper = { diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js index d0c28ce72dd57..3cab1d13f239d 100644 --- a/lib/typingsInstaller.js +++ b/lib/typingsInstaller.js @@ -27217,7 +27217,7 @@ var ts; name: "typescript:spreadArray", importName: "__spreadArray", scoped: false, - text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || from);\n };" + text: "\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };" }; // ES2015 Destructuring Helpers ts.valuesHelper = {