From 5158f27456ca5a7fac14f706e7df8ffd4676789b Mon Sep 17 00:00:00 2001 From: Tetsuharu OHZEKI Date: Sat, 2 Jul 2016 06:03:50 +0900 Subject: [PATCH] chore(Subscriber): add comment why Subscriber.destination is 'PartialObserver' (#1750) --- src/Subscriber.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Subscriber.ts b/src/Subscriber.ts index ce8da494a7..6dfed5555f 100644 --- a/src/Subscriber.ts +++ b/src/Subscriber.ts @@ -42,7 +42,7 @@ export class Subscriber extends Subscription implements Observer { public syncErrorThrowable: boolean = false; protected isStopped: boolean = false; - protected destination: PartialObserver; + protected destination: PartialObserver; // this `any` is the escape hatch to erase extra type param (e.g. R) /** * @param {Observer|function(value: T): void} [destinationOrNext] A partially