From f08297983faac35e0b0fd475bc935ba0bc0726cb Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 1 Feb 2020 23:11:39 +0200 Subject: [PATCH] vscode: moved tslib to runtime dependencies and added \"importHelpers\": true --- editors/code/package-lock.json | 3 +-- editors/code/package.json | 4 ++-- editors/code/tsconfig.json | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json index f92ce1fe278..02e17d1846a 100644 --- a/editors/code/package-lock.json +++ b/editors/code/package-lock.json @@ -749,8 +749,7 @@ "tslib": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", - "dev": true + "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" }, "tslint": { "version": "5.20.1", diff --git a/editors/code/package.json b/editors/code/package.json index 55d470fa044..3e19032637b 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -25,7 +25,8 @@ "dependencies": { "jsonc-parser": "^2.1.0", "seedrandom": "^3.0.5", - "vscode-languageclient": "^6.1.0" + "vscode-languageclient": "^6.1.0", + "tslib": "^1.10.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^11.0.1", @@ -35,7 +36,6 @@ "@types/seedrandom": "^2.4.28", "@types/vscode": "^1.41.0", "rollup": "^1.30.1", - "tslib": "^1.10.0", "tslint": "^5.20.1", "typescript": "^3.7.5", "typescript-formatter": "^7.2.2", diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 1ea433961f1..1e17e4510b3 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -15,6 +15,7 @@ "noFallthroughCasesInSwitch": true, "newLine": "LF", "esModuleInterop": true, + "importHelpers": true }, "exclude": [ "node_modules"