From 5bea586218258e538cb79fcacf34f6c4bfd80ff7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 5 Oct 2016 00:09:54 +0200 Subject: type declaration for cloneInto --- content_scripts/notify.ts | 2 ++ gulpfile.js | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index 0e723b52c..d095ee166 100644 --- 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 index a7b58b9b1..40461b27a 100644 --- 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(); }); } -- cgit v1.2.3