From 08faaa9fb8d460486317ac30fce6a4bc7675c9f3 Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Sun, 11 Oct 2015 13:09:45 -0700 Subject: [PATCH] fix(Subscriber): avoid implicit any --- src/Subscriber.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Subscriber.ts b/src/Subscriber.ts index 128672a7fb..6fec2a3356 100644 --- a/src/Subscriber.ts +++ b/src/Subscriber.ts @@ -13,8 +13,8 @@ export default class Subscriber extends Subscription implements Observer(next ?: (x?) => void, - error ?: (e?) => void, + static create(next ?: (x?:any) => void, + error ?: (e?:any) => void, complete?: () => void): Subscriber { const subscriber = new Subscriber(); subscriber._next = (typeof next === "function") && tryOrOnError(next) || noop;