From fc00aa1c428fe9b56e1b8256df81691f859e70ac Mon Sep 17 00:00:00 2001 From: Dan Casey Date: Mon, 26 Sep 2016 10:33:28 -0400 Subject: [PATCH 1/2] docs(Observable): bindNodeCallback Change doc to match source: bindNodeCallback's selector parameter is optional. --- src/observable/BoundNodeCallbackObservable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observable/BoundNodeCallbackObservable.ts b/src/observable/BoundNodeCallbackObservable.ts index 6405abea49..1c51efb273 100644 --- a/src/observable/BoundNodeCallbackObservable.ts +++ b/src/observable/BoundNodeCallbackObservable.ts @@ -54,7 +54,7 @@ export class BoundNodeCallbackObservable extends Observable { * @see {@link fromPromise} * * @param {function} func Function with a callback as the last parameter. - * @param {function} selector A function which takes the arguments from the + * @param {function} [selector] A function which takes the arguments from the * callback and maps those a value to emit on the output Observable. * @param {Scheduler} [scheduler] The scheduler on which to schedule the * callbacks. From e3096291c733b425639218eeea69f53cb57b2915 Mon Sep 17 00:00:00 2001 From: Dan Casey Date: Mon, 26 Sep 2016 12:36:12 -0400 Subject: [PATCH 2/2] docs(Observable): bindCallback Change doc to match source: bindCallback's selector parameter is optional. --- src/observable/BoundCallbackObservable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observable/BoundCallbackObservable.ts b/src/observable/BoundCallbackObservable.ts index b5edd4fe51..3046c9eea8 100644 --- a/src/observable/BoundCallbackObservable.ts +++ b/src/observable/BoundCallbackObservable.ts @@ -59,7 +59,7 @@ export class BoundCallbackObservable extends Observable { * @see {@link fromPromise} * * @param {function} func Function with a callback as the last parameter. - * @param {function} selector A function which takes the arguments from the + * @param {function} [selector] A function which takes the arguments from the * callback and maps those a value to emit on the output Observable. * @param {Scheduler} [scheduler] The scheduler on which to schedule the * callbacks.