Adding correct typings for event-stream this values

This commit is contained in:
Matt Bierner
2018-10-03 15:47:35 -07:00
parent 86fbc62cf1
commit 494395f62f
7 changed files with 13 additions and 31 deletions

View File

@@ -150,11 +150,6 @@ function fromLocalNormal(extensionPath) {
.catch(function (err) { return result.emit('error', err); });
return result.pipe(stats_1.createStatsStream(path.basename(extensionPath)));
}
function error(err) {
var result = es.through();
setTimeout(function () { return result.emit('error', err); });
return result;
}
var baseHeaders = {
'X-Market-Client-Id': 'VSCode Build',
'User-Agent': 'VSCode Build',