|
Ran
|
Files
340
|
Run time
15s
|
Badge
README BADGES
|
travis-ci
fix(typings): Use overloading instead of union type for typings filter, find, first, last. Abstract ------------ - This fixes https://github.com/ReactiveX/rxjs/issues/2163 by reverts commit 922d04e50. - So this reverts https://github.com/ReactiveX/rxjs/pull/2119 sadly. Drawback --------- - We would need specify type parameters to their method explicitly if we'd like to narrow the type via `predicate` as type guarde function. - However, I don't think this is a serious problem because we can avoid this drawback with specifying actual types only. - And this changes makes our typings more similar to [TypeScript's Array methods](https://github.com/Microsoft/TypeScript/blob/master/lib/lib.es5.d.ts#L1086-L1097).
6460 of 6613 relevant lines covered (97.69%)
615.73 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|