From 9b4f91b31cf2f8a7fafc1bbdcacf98505b84c0eb Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Mon, 26 Oct 2020 17:00:53 +0100 Subject: [PATCH] upload-sourcemaps: fix typings --- build/azure-pipelines/upload-sourcemaps.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/azure-pipelines/upload-sourcemaps.ts b/build/azure-pipelines/upload-sourcemaps.ts index 0e7ba508bf2..6a13aaf172d 100644 --- a/build/azure-pipelines/upload-sourcemaps.ts +++ b/build/azure-pipelines/upload-sourcemaps.ts @@ -10,6 +10,7 @@ import * as es from 'event-stream'; import * as Vinyl from 'vinyl'; import * as vfs from 'vinyl-fs'; import * as util from '../lib/util'; +// @ts-ignore import * as deps from '../dependencies'; const azure = require('gulp-azure-storage'); @@ -35,7 +36,7 @@ function main() { const vs = src('out-vscode-min'); // client source-maps only sources.push(vs); - const productionDependencies = deps.getProductionDependencies(root); + const productionDependencies: { name: string, path: string, version: string }[] = deps.getProductionDependencies(root); const productionDependenciesSrc = productionDependencies.map(d => path.relative(root, d.path)).map(d => `./${d}/**/*.map`); const nodeModules = vfs.src(productionDependenciesSrc, { base: '.' }) .pipe(util.cleanNodeModules(path.join(root, 'build', '.moduleignore')));