You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
The previous regex was not good enough and it
was hindered by complex code samples in the
documentation.
One example is in the groupBy/Until files which
are now properly generated.
* Groups the elements of an observable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function.
@@ -2207,7 +2218,15 @@ declare module Rx {
2207
2218
*
2208
2219
* @example
2209
2220
* var res = observable.groupBy(function (x) { return x.id; });
* @param {Function} keySelector A function to extract the key for each element.
2224
+
* @param {Function} [elementSelector] A function to map each source element to an element in an observable group.
2225
+
* @returns {Observable} A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value.
* Projects each element of an observable sequence into a new form by incorporating the element's index.
@@ -2509,7 +2528,15 @@ declare module Rx {
2509
2528
* Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
2510
2529
* The element's index is used in the logic of the predicate function.
2511
2530
*
2512
-
* var res = source.skipWhile(function (value) { return value < 10;
2531
+
* var res = source.skipWhile(function (value) { return value < 10; });
2532
+
* var res = source.skipWhile(function (value, index) { return value < 10 || index < 10; });
2533
+
* @param {Function} predicate A function to test each element for a condition; the second parameter of the function represents the index of the source element.
2534
+
* @param {Any} [thisArg] Object to use as this when executing callback.
2535
+
* @returns {Observable} An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
* Returns a specified number of contiguous elements from the start of an observable sequence, using the specified scheduler for the edge case of take(0).
* Groups the elements of an observable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function.
@@ -2204,7 +2215,15 @@ declare module Rx {
2204
2215
*
2205
2216
* @example
2206
2217
* var res = observable.groupBy(function (x) { return x.id; });
* @param {Function} keySelector A function to extract the key for each element.
2221
+
* @param {Function} [elementSelector] A function to map each source element to an element in an observable group.
2222
+
* @returns {Observable} A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value.
* Projects each element of an observable sequence into a new form by incorporating the element's index.
@@ -2506,7 +2525,15 @@ declare module Rx {
2506
2525
* Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
2507
2526
* The element's index is used in the logic of the predicate function.
2508
2527
*
2509
-
* var res = source.skipWhile(function (value) { return value < 10;
2528
+
* var res = source.skipWhile(function (value) { return value < 10; });
2529
+
* var res = source.skipWhile(function (value, index) { return value < 10 || index < 10; });
2530
+
* @param {Function} predicate A function to test each element for a condition; the second parameter of the function represents the index of the source element.
2531
+
* @param {Any} [thisArg] Object to use as this when executing callback.
2532
+
* @returns {Observable} An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
* Returns a specified number of contiguous elements from the start of an observable sequence, using the specified scheduler for the edge case of take(0).
* @param {Function} keySelector A function to extract the key for each element.
174
+
* @param {Function} [elementSelector] A function to map each source element to an element in an observable group.
175
+
* @returns {Observable} A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value.
* @param {Function} keySelector A function to extract the key for each element.
174
+
* @param {Function} [elementSelector] A function to map each source element to an element in an observable group.
175
+
* @returns {Observable} A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value.
Copy file name to clipboardExpand all lines: ts/rx.d.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2405,7 +2405,15 @@ declare module Rx {
2405
2405
* Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
2406
2406
* The element's index is used in the logic of the predicate function.
2407
2407
*
2408
-
* var res = source.skipWhile(function (value) { return value < 10;
2408
+
* var res = source.skipWhile(function (value) { return value < 10; });
2409
+
* var res = source.skipWhile(function (value, index) { return value < 10 || index < 10; });
2410
+
* @param {Function} predicate A function to test each element for a condition; the second parameter of the function represents the index of the source element.
2411
+
* @param {Any} [thisArg] Object to use as this when executing callback.
2412
+
* @returns {Observable} An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
* Returns a specified number of contiguous elements from the start of an observable sequence, using the specified scheduler for the edge case of take(0).
Copy file name to clipboardExpand all lines: ts/rx.es6.d.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2402,7 +2402,15 @@ declare module Rx {
2402
2402
* Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
2403
2403
* The element's index is used in the logic of the predicate function.
2404
2404
*
2405
-
* var res = source.skipWhile(function (value) { return value < 10;
2405
+
* var res = source.skipWhile(function (value) { return value < 10; });
2406
+
* var res = source.skipWhile(function (value, index) { return value < 10 || index < 10; });
2407
+
* @param {Function} predicate A function to test each element for a condition; the second parameter of the function represents the index of the source element.
2408
+
* @param {Any} [thisArg] Object to use as this when executing callback.
2409
+
* @returns {Observable} An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
* Returns a specified number of contiguous elements from the start of an observable sequence, using the specified scheduler for the edge case of take(0).
Copy file name to clipboardExpand all lines: ts/rx.lite.d.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2131,7 +2131,15 @@ declare module Rx {
2131
2131
* Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
2132
2132
* The element's index is used in the logic of the predicate function.
2133
2133
*
2134
-
* var res = source.skipWhile(function (value) { return value < 10;
2134
+
* var res = source.skipWhile(function (value) { return value < 10; });
2135
+
* var res = source.skipWhile(function (value, index) { return value < 10 || index < 10; });
2136
+
* @param {Function} predicate A function to test each element for a condition; the second parameter of the function represents the index of the source element.
2137
+
* @param {Any} [thisArg] Object to use as this when executing callback.
2138
+
* @returns {Observable} An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
* Returns a specified number of contiguous elements from the start of an observable sequence, using the specified scheduler for the edge case of take(0).
Copy file name to clipboardExpand all lines: ts/rx.lite.es6.d.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2128,7 +2128,15 @@ declare module Rx {
2128
2128
* Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
2129
2129
* The element's index is used in the logic of the predicate function.
2130
2130
*
2131
-
* var res = source.skipWhile(function (value) { return value < 10;
2131
+
* var res = source.skipWhile(function (value) { return value < 10; });
2132
+
* var res = source.skipWhile(function (value, index) { return value < 10 || index < 10; });
2133
+
* @param {Function} predicate A function to test each element for a condition; the second parameter of the function represents the index of the source element.
2134
+
* @param {Any} [thisArg] Object to use as this when executing callback.
2135
+
* @returns {Observable} An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
* Returns a specified number of contiguous elements from the start of an observable sequence, using the specified scheduler for the edge case of take(0).
0 commit comments