commit 5bea586218258e538cb79fcacf34f6c4bfd80ff7
parent 6604bda9f6e890b1b2bd447dc4dd5a4a544fee4c
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 5 Oct 2016 00:09:54 +0200
type declaration for cloneInto
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts
@@ -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;
diff --git a/gulpfile.js b/gulpfile.js
@@ -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();
});
}