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