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 has been archived by the owner on Apr 20, 2018. It is now read-only.
for those that run into this, here is an augmentation to patch the issue until it's fixed. I'll try and get a PR for this issue pushed up asap.
import{Enumerable,OrderedEnumerable,Comparer}from'ix';// we want to reuse the createOrderedEnumerable that comes with OrderedEnumerableinterfaceOrderedEnumerablePrototype<T>extendsOrderedEnumerable<T>{createOrderedEnumerable<TKey>(keySelector: (item: T)=>TKey,comparer: Comparer<TKey,TKey>|undefined,descending: boolean): OrderedEnumerable<T>;}// reach in and grab the OrderedEnumerable prototype by creating an ordered enumerableconstorderedEnumerablePrototype: OrderedEnumerablePrototype<any>=(<any>Enumerable).empty().orderBy(undefined).__proto__.constructor.prototype;functionthenBy<T,TKey>(this: OrderedEnumerablePrototype<T>,keySelector: (item: T)=>TKey,comparer?: Comparer<TKey,TKey>,){returnthis.createOrderedEnumerable(keySelector,comparer,false);}orderedEnumerablePrototype.thenBy=thenBy;functionthenByDescending<T,TKey>(this: OrderedEnumerablePrototype<T>,keySelector: (item: T)=>TKey,comparer?: Comparer<TKey,TKey>,){returnthis.createOrderedEnumerable(keySelector,comparer,true);}orderedEnumerablePrototype.thenByDescending=thenByDescending;
The text was updated successfully, but these errors were encountered:
patsissons
pushed a commit
to marinels/webrx-react
that referenced
this issue
Aug 2, 2017
https://github.com/Reactive-Extensions/IxJS/blob/master/src/core/enumerable.js#L1615
https://github.com/Reactive-Extensions/IxJS/blob/master/src/core/enumerable.js#L1611
for those that run into this, here is an augmentation to patch the issue until it's fixed. I'll try and get a PR for this issue pushed up asap.
The text was updated successfully, but these errors were encountered: