type declaration for cloneInto
This commit is contained in:
parent
6604bda9f6
commit
5bea586218
@ -28,6 +28,8 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
declare var cloneInto: any;
|
||||
|
||||
// Make sure we don't pollute the namespace too much.
|
||||
namespace TalerNotify {
|
||||
const PROTOCOL_VERSION = 1;
|
||||
|
@ -187,15 +187,15 @@ function concatStreams (/*streams...*/) {
|
||||
if (endCount == toMerge.length)
|
||||
stream.emit('end');
|
||||
})
|
||||
})
|
||||
});
|
||||
stream.write = function (data) {
|
||||
this.emit('data', data);
|
||||
}
|
||||
};
|
||||
stream.destroy = function () {
|
||||
toMerge.forEach(function (e) {
|
||||
if (e.destroy) e.destroy();
|
||||
})
|
||||
}
|
||||
};
|
||||
return stream;
|
||||
}
|
||||
|
||||
@ -329,7 +329,7 @@ function tsconfig(confBase) {
|
||||
path: "tsconfig.json",
|
||||
contents: new Buffer(x),
|
||||
});
|
||||
this.push(f)
|
||||
this.push(f);
|
||||
cb();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user